summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-03-05 11:51:18 -0800
committerTimothy Arceri <tarceri@itsqueeze.com>2017-03-16 14:14:18 +1100
commitf05524ffaa98488c3faecebe952f1676fbb6a09c (patch)
tree4506e55b06c1f5380c48a6f82e0b1948e1db2746 /src/mapi
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 <tarceri@itsqueeze.com> Acked-by: Marek Olšák <maraeo@gmail.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> Tested-by: Mike Lothian <mike@fireburn.co.uk>
Diffstat (limited to 'src/mapi')
-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 ce9ad172dc..e29825d967 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"/>