summaryrefslogtreecommitdiff
path: root/src/glx/glxextensions.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-02-03 17:26:02 -0800
committerEric Anholt <eric@anholt.net>2011-02-26 12:43:15 -0800
commit49d7e48b33264d94e30af6129c281b6acafa9427 (patch)
tree48f510037ec7c76e833d213d4706ae043484192a /src/glx/glxextensions.c
parent132dc0b6d2aef79920d750d8f4f3852f7e2d599a (diff)
mesa: Add new MESA_multithread_makecurrent extension.
This extension allows a client to bind one context in multiple threads simultaneously. It is then up to the client to manage synchronization of access to the GL, just as normal multithreaded GL from multiple contexts requires synchronization management to shared objects.
Diffstat (limited to 'src/glx/glxextensions.c')
-rw-r--r--src/glx/glxextensions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index 3a0e64c46d..ffd466479b 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -90,6 +90,7 @@ static const struct extension_info known_glx_extensions[] = {
{ GLX(MESA_agp_offset), VER(0,0), N, N, N, Y }, /* Deprecated */
{ GLX(MESA_copy_sub_buffer), VER(0,0), Y, N, N, N },
#endif
+ { GLX(MESA_multithread_makecurrent),VER(0,0), Y, N, Y, N },
{ GLX(MESA_pixmap_colormap), VER(0,0), N, N, N, N }, /* Deprecated */
{ GLX(MESA_release_buffers), VER(0,0), N, N, N, N }, /* Deprecated */
#ifdef GLX_USE_APPLEGL