From 49d7e48b33264d94e30af6129c281b6acafa9427 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 3 Feb 2011 17:26:02 -0800 Subject: 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. --- src/glx/glxclient.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glx/glxclient.h') diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index fdcef8075a..2b6966f2e0 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]; }; -- cgit v1.2.3