mesa/src/mapi
Neil Roberts 60ec95fa1e mesa: Add support for the GL_KHR_context_flush_control extension
The GL side of this extension just provides an accessor via glGetIntegerv for
the value of GL_CONTEXT_RELEASE_BEHAVIOR so it is trivial to implement. There
is a constant on the context for the value of the enum which is initialised to
GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH. The extension is always enabled because it
doesn't need any driver interaction to retrieve the value.

If the value of the enum is anything but FLUSH then _mesa_make_current will
now refrain from calling _mesa_flush. This should only affect drivers that
explicitly change the enum to a non-default value.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2014-10-28 16:40:18 +00:00
..
es1api mapi: Inline es1api/Makefile. 2014-08-18 18:25:02 -07:00
es2api mapi: Inline es2api/Makefile. 2014-08-18 18:25:29 -07:00
glapi mesa: Add support for the GL_KHR_context_flush_control extension 2014-10-28 16:40:18 +00:00
shared-glapi mapi: Inline shared-glapi/tests/Makefile. 2014-08-18 18:27:20 -07:00
vgapi automake: don't enable -Wl,--no-undefined on OpenBSD 2014-04-05 13:30:27 +01:00
Android.mk build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
entry.c glapi: rename u_current dispatch table functions 2014-03-06 07:47:12 -07:00
entry.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
entry_x86-64_tls.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
entry_x86_tls.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
entry_x86_tsd.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
Makefile.am mapi: Inline shared-glapi/tests/Makefile. 2014-08-18 18:27:20 -07:00
Makefile.sources mapi: OpenVG symbol exports. 2014-04-25 19:34:38 -07:00
mapi.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
mapi.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
mapi_abi.py mapi_abi: Make ES1 and ES2 static_dispatch=false functions hidden 2014-03-31 14:47:00 -07:00
mapi_glapi.c glapi: restore _glthread_GetID() function 2014-03-14 12:12:07 -06:00
mapi_tmp.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
stub.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
stub.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
table.c mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
table.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
u_compiler.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
u_current.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
u_current.h glapi: rename u_current dispatch table functions 2014-03-06 07:47:12 -07:00
u_execmem.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
u_execmem.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
u_macros.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
u_thread.h glapi: use 'Mesa' in error messages 2014-03-07 09:04:01 -07:00