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>
This commit is contained in:
Eric Anholt 2013-03-05 11:51:18 -08:00 committed by Timothy Arceri
parent f5052f45a2
commit f05524ffaa
1 changed files with 5 additions and 5 deletions

View File

@ -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"/>