[Mesa-dev] [PATCH] mesa: disable glthread when glNewList() is called

Timothy Arceri tarceri at itsqueeze.com
Thu Mar 16 06:01:26 UTC 2017


glNewList() swaps dispatch tables, and we don't have anything in
place to handle that in glthread.
---
 src/mapi/glapi/gen/gl_API.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 15d7e4f..c1f0f8f 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -1102,21 +1102,21 @@
 
     <type name="byte"    size="1"                  glx_name="CARD8"/>
     <type name="ubyte"   size="1"  unsigned="true" glx_name="CARD8"/>
     <type name="boolean" size="1"  unsigned="true" glx_name="CARD8"/>
     
     <type name="void"    size="1"/>
 
     <type name="DEBUGPROCARB" size="4" pointer="true"/>
     <type name="DEBUGPROC" size="4" pointer="true"/>
 
-    <function name="NewList" deprecated="3.1">
+    <function name="NewList" deprecated="3.1" marshal_fail="true">
         <param name="list" type="GLuint"/>
         <param name="mode" type="GLenum"/>
         <glx sop="101"/>
     </function>
 
     <function name="EndList" deprecated="3.1">
         <glx sop="102"/>
     </function>
 
     <function name="CallList" deprecated="3.1">
-- 
2.9.3



More information about the mesa-dev mailing list