summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-03-05 11:51:18 -0800
committerTimothy Arceri <[email protected]>2017-03-16 14:14:18 +1100
commitf05524ffaa98488c3faecebe952f1676fbb6a09c (patch)
tree4506e55b06c1f5380c48a6f82e0b1948e1db2746 /src/mapi/glapi
parentf5052f45a20b1ce3ee25b8724cb6b90cd37ab45f (diff)
glapi: Mark compressed teximage functions as sync.
Without doing some additional tracking, we won't know whether the data will be immediate user data, or will be loaded from a PBO. The normal teximage functions will be sync by default because they don't know up front what the size of their image data is. But for compressed teximage, we have the count information, so they would end up async by default. 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]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/gl_API.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index ce9ad172dc4..e29825d9672 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -4494,7 +4494,7 @@
<glx rop="229"/>
</function>
- <function name="CompressedTexImage3D" es2="3.0">
+ <function name="CompressedTexImage3D" es2="3.0" marshal="sync">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="internalformat" type="GLenum"/>
@@ -4507,7 +4507,7 @@
<glx rop="216" handcode="client"/>
</function>
- <function name="CompressedTexImage2D" es1="1.0" es2="2.0">
+ <function name="CompressedTexImage2D" es1="1.0" es2="2.0" marshal="sync">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="internalformat" type="GLenum"/>
@@ -4519,7 +4519,7 @@
<glx rop="215" handcode="client"/>
</function>
- <function name="CompressedTexImage1D">
+ <function name="CompressedTexImage1D" marshal="sync">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="internalformat" type="GLenum"/>
@@ -4530,7 +4530,7 @@
<glx rop="214" handcode="client"/>
</function>
- <function name="CompressedTexSubImage3D" es2="3.0">
+ <function name="CompressedTexSubImage3D" es2="3.0" marshal="sync">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="xoffset" type="GLint"/>
@@ -4545,7 +4545,7 @@
<glx rop="219" handcode="client"/>
</function>
- <function name="CompressedTexSubImage2D" es1="1.0" es2="2.0">
+ <function name="CompressedTexSubImage2D" es1="1.0" es2="2.0" marshal="sync">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="xoffset" type="GLint"/>