glthread: sync instead of disabling glthread for non-VBO pointers
[mesa.git] / src / mapi / glapi / gen / gl_API.dtd
index 787fcbf267520433551b5deeff9c85f2c5493916..96d70982c837745c52be04bc62f63d084e3809c9 100644 (file)
@@ -41,6 +41,7 @@
                    desktop             (true | false) "true"
                    marshal             NMTOKEN #IMPLIED
                    marshal_fail        CDATA #IMPLIED>
+                   marshal_sync        CDATA #IMPLIED>
                    marshal_count       CDATA #IMPLIED>
                    marshal_call_after  CDATA #IMPLIED>
 <!ATTLIST size     name                NMTOKEN #REQUIRED
@@ -136,6 +137,8 @@ param:
         to switch back to the Mesa implementation and call it directly.  Used
         to disable glthread for GL compatibility interactions that we don't
         want to track state for.
+     marshal_sync - an expression that, if it evaluates true, causes glthread
+        to sync and execute the call directly.
      marshal_count - same as count, but variable_param is ignored. Used by
         glthread.
      marshal_call_after - insert the string at the end of the marshal function