Mesa (master): mesa: disable glthread when glNewList() is called

Timothy Arceri tarceri at kemper.freedesktop.org
Sun Mar 19 23:22:29 UTC 2017


Module: Mesa
Branch: master
Commit: 72fa447d45ed5401b6964c071013d8ecc4680b16
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72fa447d45ed5401b6964c071013d8ecc4680b16

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Thu Mar 16 17:01:26 2017 +1100

mesa: disable glthread when glNewList() is called

glNewList() swaps dispatch tables, and we don't have anything in
place to handle that in glthread.

Tested-by: Michel Dänzer <michel.daenzer at amd.com>

---

 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 15d7e4f24d..c1f0f8fe92 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -1109,7 +1109,7 @@
     <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"/>




More information about the mesa-commit mailing list