swrast: add an interface createNewContextForAPI
authorHaitao Feng <haitao.feng@intel.com>
Sun, 30 Jan 2011 08:03:35 +0000 (16:03 +0800)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 3 Feb 2011 16:59:30 +0000 (11:59 -0500)
commitb43a147128a1144a5fe4afcda412ccaba0c0793b
treeba28e121733aa65949d3fa605813e89f015f9ee6
parent610c24b19d21f3d147fde4d96a3afaa107670f1e
swrast: add an interface createNewContextForAPI

This new interface could set up context for OpenGL,
OpenGL ES1 and OpenGL ES2. It will be used by egl_dri2
driver.

Signed-off-by: Haitao Feng <haitao.feng@intel.com>
include/GL/internal/dri_interface.h
src/mesa/drivers/dri/common/drisw_util.c
src/mesa/drivers/dri/swrast/swrast.c