mesa/src/egl
Kyle Brenneman 6e066f76ee EGL: Combine the GL and GLES current contexts (v2)
Only keep track of a single current context, instead of separate
contexts for GL and GLES.

In EGL 1.4 (and 1.5), EGL_OPENGL_API and EGL_OPENGL_ES_API are supposed
to be interchangeable for all purposes except for eglCreateContext.

The _EGLThreadInfo::CurrentContexts array is now a single pointer to the
current context, which may be a GL or GLES context. In addition, it now
keeps track of the current API as an enum instead of an index.

eglMakeCurrent will now replace the current context, regardless of which
client API is used for for the current and new contexts. It no longer
checks for a conflicting context. In addition, calling eglMakeCurrent
with EGL_NO_CONTEXT will now release the current context regardless of
the current API.

v2: Rebased against master (Adam Jackson)

Reviewed-by: Adam Jackson <ajax@redhat.com>
2016-09-07 11:56:48 -04:00
..
docs
drivers gbm: wire up fence extension 2016-09-07 11:54:00 -04:00
main EGL: Combine the GL and GLES current contexts (v2) 2016-09-07 11:56:48 -04:00
wayland wayland-drm: add missing NULL check 2016-09-01 15:48:52 +01:00
Android.mk Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
egl-symbols-check egl: fix make check broken by interop support 2016-04-26 21:37:07 +02:00
Makefile.am configure.ac: Add support for Android builds 2016-05-23 13:23:39 +01:00
Makefile.sources
SConscript egl: Fix missing Haiku include path 2015-09-28 13:58:25 -04:00