OSDN Git Service

st/dri: Add multi-api support
authornobled <nobled@dreamwidth.org>
Mon, 30 Aug 2010 20:23:54 +0000 (20:23 +0000)
committerChia-I Wu <olv@lunarg.com>
Wed, 8 Sep 2010 09:25:01 +0000 (17:25 +0800)
commit8e3b658b7fdc1c2a2b9b6bd942a811adbf1ac4ab
treea7863aa7d00182bda0ca9bdf834df3a2ad6bd2ad
parentecd7ec9d62d2ba919410218f4cf3f69772681f3c
st/dri: Add multi-api support

Make st/dri screens capable of creating OpenGL ES and
OpenGL ES2 contexts.

TODO: Figure out the "get_current" problem with multiple
st_api's for real.

(s/API_OPENGLES1/API_OPENGLES/ by Chia-I Wu)
src/gallium/state_trackers/dri/common/dri_context.c
src/gallium/state_trackers/dri/common/dri_context.h
src/gallium/state_trackers/dri/common/dri_screen.c
src/gallium/state_trackers/dri/common/dri_screen.h
src/gallium/state_trackers/dri/drm/dri2.c