aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-03-21 02:58:51 -0400
committerMarge Bot <[email protected]>2020-04-30 22:01:55 +0000
commit1485a3ff7b52eed21cdc199aaa76ee1692dfa3c8 (patch)
tree5675599da4be8ac8644a12d35bb130f55bb0e746 /src/mapi/glapi
parent57bf51a97357b0cce293659123a3353d1b726487 (diff)
glthread: handle gl{Push,Pop}ClientAttrib{DefaultEXT} for glthread states
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4314>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml6
-rw-r--r--src/mapi/glapi/gen/gl_API.xml6
2 files changed, 8 insertions, 4 deletions
diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml
index d570f688e53..4314973cc01 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -102,11 +102,13 @@
<!-- OpenGL 1.1 -->
- <function name="ClientAttribDefaultEXT">
+ <function name="ClientAttribDefaultEXT"
+ marshal_call_after="if (COMPAT) _mesa_glthread_ClientAttribDefault(ctx, mask);">
<param name="mask" type="GLbitfield" />
</function>
- <function name="PushClientAttribDefaultEXT">
+ <function name="PushClientAttribDefaultEXT"
+ marshal_call_after="if (COMPAT) _mesa_glthread_PushClientAttrib(ctx, mask, true);">
<param name="mask" type="GLbitfield" />
</function>
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 2ee1c7f9eda..42857e4fc68 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -3388,11 +3388,13 @@
<glx rop="194"/>
</function>
- <function name="PopClientAttrib" deprecated="3.1">
+ <function name="PopClientAttrib" deprecated="3.1"
+ marshal_call_after="if (COMPAT) _mesa_glthread_PopClientAttrib(ctx);">
<glx handcode="true"/>
</function>
- <function name="PushClientAttrib" deprecated="3.1">
+ <function name="PushClientAttrib" deprecated="3.1"
+ marshal_call_after="if (COMPAT) _mesa_glthread_PushClientAttrib(ctx, mask, false);">
<param name="mask" type="GLbitfield"/>
<glx handcode="true"/>
</function>