mesa/include
Neil Roberts 551d459af4 Add the EGL_MESA_configless_context extension
This extension provides a way for an application to render to multiple
surfaces with different buffer formats without having to use multiple
contexts. An EGLContext can be created without an EGLConfig by passing
EGL_NO_CONFIG_MESA. In that case there are no restrictions on the surfaces
that can be used with the context apart from that they must be using the same
EGLDisplay.

_mesa_initialze_context can now take a NULL gl_config which will mark the
context as ‘configless’. It will memset the visual to zero in that case.
Previously the i965 and i915 drivers were explicitly creating a zeroed visual
whenever 0 is passed for the EGLConfig. Mesa needs to be aware that the
context is configless because it affects the initial value to use for
glDrawBuffer. The first time the context is bound it will set the initial
value for configless contexts depending on whether the framebuffer used is
double-buffered.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2014-03-12 14:40:47 -07:00
..
c11 c11/threads: Don't implement thrd_current on Windows. 2014-03-04 12:05:23 +00:00
c99 mesa: fixes for MSVC 2013 2013-10-22 08:39:40 -06:00
CL clover: Import OpenCL state tracker. 2012-05-11 12:39:44 +02:00
EGL Add the EGL_MESA_configless_context extension 2014-03-12 14:40:47 -07:00
GL glx: Update glxext.h to revision 25407 2014-03-07 16:59:57 -08:00
GLES gles: Update glext.h to revision 20798. 2013-07-29 10:34:42 -07:00
GLES2 gles2: Update gl2ext.h to revision 24614. 2014-01-23 11:33:22 -08:00
GLES3 gles3: Update gl3.h to revision 24614. 2014-01-23 11:33:22 -08:00
HaikuGL haiku: change atomic int to non-volatile 2014-01-26 18:56:05 -06:00
KHR Update KHRONOS_APICALL for _WIN32 platform. 2010-05-31 11:31:07 +08:00
pci_ids i965: Enable Broadwell support. 2014-02-20 15:51:38 -08:00
VG st/vega: Update to latest headers. 2010-12-01 11:23:51 +08:00
c99_compat.h scons: Define _ALLOW_KEYWORD_MACROS on MSVC builds. 2013-03-14 19:01:10 +00:00