summaryrefslogtreecommitdiffstats
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-02-03 17:26:02 -0800
committerEric Anholt <[email protected]>2011-02-26 12:43:15 -0800
commit49d7e48b33264d94e30af6129c281b6acafa9427 (patch)
tree48f510037ec7c76e833d213d4706ae043484192a /src/glx/glxclient.h
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/glxclient.h')
-rw-r--r--src/glx/glxclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index fdcef8075a8..2b6966f2e08 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -419,9 +419,9 @@ struct glx_context
/*@} */
/**
- * Thread ID we're currently current in. Zero if none.
+ * Number of threads we're currently current in.
*/
- unsigned long thread_id;
+ unsigned long thread_refcount;
char gl_extension_bits[__GL_EXT_BYTES];
};