st/dri: Use profiles to create OpenGL ES contexts.
authorChia-I Wu <olv@lunarg.com>
Fri, 10 Sep 2010 05:23:06 +0000 (13:23 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 10 Sep 2010 07:43:34 +0000 (15:43 +0800)
commit0cd480f07639ec9ee01424aaa3e0c900b2204d4f
tree087ec60a0a29ebe5ba747f6f13c43616dac687d8
parent4531356817ec8383ac35932903773de67af92e37
st/dri: Use profiles to create OpenGL ES contexts.

Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is
not a sane abstraction, since all of them share glapi for current
context/dispatch management.
src/gallium/state_trackers/dri/common/dri_context.c
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