st/egl: Use profiles to create OpenGL ES contexts.
authorChia-I Wu <olv@lunarg.com>
Fri, 10 Sep 2010 04:59:43 +0000 (12:59 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 10 Sep 2010 07:44:11 +0000 (15:44 +0800)
commit948e3fa27ca9112b903a180d1a18c61cfb2928dc
tree80b9a684a2f12ed60a65757860203d2bff825fad
parent0cd480f07639ec9ee01424aaa3e0c900b2204d4f
st/egl: Use profiles to create OpenGL ES contexts.

Replace all uses of ST_API_OPENGL_ES{1,2} by profiles.  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/egl/common/egl_g3d.c
src/gallium/state_trackers/egl/common/egl_g3d_api.c
src/gallium/state_trackers/egl/common/egl_g3d_loader.h
src/gallium/state_trackers/egl/common/egl_g3d_st.h
src/gallium/targets/egl-gdi/egl-static.c
src/gallium/targets/egl/Makefile
src/gallium/targets/egl/egl.c
src/gallium/targets/egl/st_GL.c
src/gallium/targets/egl/st_GLESv1_CM.c
src/gallium/targets/egl/st_GLESv2.c