summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-12-27 12:11:57 -0800
committerTimothy Arceri <[email protected]>2017-03-16 14:14:19 +1100
commit1d6b71c5c6264f9cc0f7ae7c35d27b5c88f3f8bf (patch)
tree803141cd35b2dce1eedb110a348c123a1455b7e3
parenta4a5de6f18feba0a3dd439163f3505f2ba20fa0c (diff)
glapi: Mark vertex attrib pointer functions as async.
These don't actually read data out of the pointers, they set the pointers (or offsets in a VBO) to be used in a later draw call. v2: Don't forget glVertexAttribIPointer, and don't bother with annotations on aliases. v3: Mark CompressedTexSubImage1D as sync also. Acked-by: Timothy Arceri <[email protected]> Acked-by: Marek Olšák <[email protected]> Tested-by: Dieter Nützel <[email protected]> Tested-by: Mike Lothian <[email protected]>
-rw-r--r--src/mapi/glapi/gen/GL3x.xml2
-rw-r--r--src/mapi/glapi/gen/gl_API.xml32
2 files changed, 17 insertions, 17 deletions
diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml
index 6b91945c837..65f12a42587 100644
--- a/src/mapi/glapi/gen/GL3x.xml
+++ b/src/mapi/glapi/gen/GL3x.xml
@@ -256,7 +256,7 @@
<!-- These functions alias ones from GL_EXT_gpu_shader4 -->
- <function name="VertexAttribIPointer" es2="3.0">
+ <function name="VertexAttribIPointer" es2="3.0" marshal="async">
<param name="index" type="GLuint"/>
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 0da1589da7e..77d44360ff3 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -3153,7 +3153,7 @@
<glx handcode="true"/>
</function>
- <function name="ColorPointer" es1="1.0" deprecated="3.1">
+ <function name="ColorPointer" es1="1.0" deprecated="3.1" marshal="async">
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
@@ -3181,7 +3181,7 @@
<glx handcode="true"/>
</function>
- <function name="EdgeFlagPointer" deprecated="3.1">
+ <function name="EdgeFlagPointer" deprecated="3.1" marshal="async">
<param name="stride" type="GLsizei"/>
<param name="pointer" type="const GLvoid *"/>
<glx handcode="true"/>
@@ -3198,7 +3198,7 @@
<glx handcode="true"/>
</function>
- <function name="IndexPointer" deprecated="3.1">
+ <function name="IndexPointer" deprecated="3.1" marshal="async">
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
<param name="pointer" type="const GLvoid *"/>
@@ -3212,14 +3212,14 @@
<glx handcode="true"/>
</function>
- <function name="NormalPointer" es1="1.0" deprecated="3.1">
+ <function name="NormalPointer" es1="1.0" deprecated="3.1" marshal="async">
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
<param name="pointer" type="const GLvoid *"/>
<glx handcode="true"/>
</function>
- <function name="TexCoordPointer" es1="1.0" deprecated="3.1">
+ <function name="TexCoordPointer" es1="1.0" deprecated="3.1" marshal="async">
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
@@ -3227,7 +3227,7 @@
<glx handcode="true"/>
</function>
- <function name="VertexPointer" es1="1.0" deprecated="3.1">
+ <function name="VertexPointer" es1="1.0" deprecated="3.1" marshal="async">
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
@@ -4557,7 +4557,7 @@
<glx rop="218" handcode="client"/>
</function>
- <function name="CompressedTexSubImage1D">
+ <function name="CompressedTexSubImage1D" marshal="sync">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="xoffset" type="GLint"/>
@@ -4716,7 +4716,7 @@
<glx rop="4125"/>
</function>
- <function name="FogCoordPointer" deprecated="3.1">
+ <function name="FogCoordPointer" deprecated="3.1" marshal="async">
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
<param name="pointer" type="const GLvoid *"/>
@@ -4852,7 +4852,7 @@
<glx rop="4132"/>
</function>
- <function name="SecondaryColorPointer" deprecated="3.1">
+ <function name="SecondaryColorPointer" deprecated="3.1" marshal="async">
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
@@ -5806,7 +5806,7 @@
<glx rop="4233"/>
</function>
- <function name="VertexAttribPointer" es2="2.0">
+ <function name="VertexAttribPointer" es2="2.0" marshal="async">
<param name="index" type="GLuint"/>
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
@@ -9179,7 +9179,7 @@
<param name="i" type="GLint"/>
</function>
- <function name="ColorPointerEXT" deprecated="3.1">
+ <function name="ColorPointerEXT" deprecated="3.1" marshal="async">
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
@@ -9194,7 +9194,7 @@
<param name="count" type="GLsizei"/>
</function>
- <function name="EdgeFlagPointerEXT" deprecated="3.1">
+ <function name="EdgeFlagPointerEXT" deprecated="3.1" marshal="async">
<param name="stride" type="GLsizei"/>
<param name="count" type="GLsizei"/>
<param name="pointer" type="const GLboolean *"/>
@@ -9206,7 +9206,7 @@
<param name="params" type="GLvoid **" output="true"/>
</function>
- <function name="IndexPointerEXT" deprecated="3.1">
+ <function name="IndexPointerEXT" deprecated="3.1" marshal="async">
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
<param name="count" type="GLsizei"/>
@@ -9214,7 +9214,7 @@
<glx handcode="true"/>
</function>
- <function name="NormalPointerEXT" deprecated="3.1">
+ <function name="NormalPointerEXT" deprecated="3.1" marshal="async">
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
<param name="count" type="GLsizei"/>
@@ -9222,7 +9222,7 @@
<glx handcode="true"/>
</function>
- <function name="TexCoordPointerEXT" deprecated="3.1">
+ <function name="TexCoordPointerEXT" deprecated="3.1" marshal="async">
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
@@ -9231,7 +9231,7 @@
<glx handcode="true"/>
</function>
- <function name="VertexPointerEXT" deprecated="3.1">
+ <function name="VertexPointerEXT" deprecated="3.1" marshal="async">
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>