summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorGrigori Goronzy <[email protected]>2017-07-09 03:27:12 +0200
committerGrigori Goronzy <[email protected]>2017-07-14 21:20:31 +0200
commit1ad24faa116d9f8fab78ad3b81ff6a3625016e50 (patch)
tree06af96c7d8194d1578cdafff489d6075d38260ae /src/mapi
parent8036198c0f2ac76309b8a5ed447e49da26a1795f (diff)
mesa/marshal: add marshalling for glClearBuffer*
Add async marshalling/unmarshalling for all glClearBuffer variants. These entry points are commonly used in general and Alien Isolation specifically uses glClearBufferiv. Slightly reduces the number of thread synchronizations with glthread in that game. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/GL3x.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml
index 24490da7e32..7c86e8fc51a 100644
--- a/src/mapi/glapi/gen/GL3x.xml
+++ b/src/mapi/glapi/gen/GL3x.xml
@@ -117,13 +117,13 @@
<!-- These functions are unique to GL3 -->
- <function name="ClearBufferiv" es2="3.0">
+ <function name="ClearBufferiv" es2="3.0" marshal="custom">
<param name="buffer" type="GLenum"/>
<param name="drawbuffer" type="GLint"/>
<param name="value" type="const GLint *"/>
</function>
- <function name="ClearBufferuiv" es2="3.0">
+ <function name="ClearBufferuiv" es2="3.0" marshal="custom">
<param name="buffer" type="GLenum"/>
<param name="drawbuffer" type="GLint"/>
<param name="value" type="const GLuint *"/>
@@ -135,7 +135,7 @@
<param name="value" type="const GLfloat *"/>
</function>
- <function name="ClearBufferfi" es2="3.0">
+ <function name="ClearBufferfi" es2="3.0" marshal="custom">
<param name="buffer" type="GLenum"/>
<param name="drawbuffer" type="GLint"/>
<param name="depth" type="GLfloat"/>