summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-09-03 10:27:38 +1000
committerMarek Olšák <[email protected]>2019-06-28 15:41:20 -0400
commitb5f930ea05fd87500447982b8fd464044c417592 (patch)
treeabba98851235e57078665ab011955d6036ce9e0c /src/mapi
parentb82b3d28d340dfbcebde471cb9037e57a0ac48da (diff)
mesa: add support for glCompressedTextureSubImage2DEXT()
Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml13
-rw-r--r--src/mapi/glapi/gen/static_data.py1
2 files changed, 14 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml
index 53c6aa7d563..1eef0e3c39b 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -143,6 +143,19 @@
<function name="MatrixMultTransposedEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="m" type="const GLdouble *" />
+ </function>
+
+ <function name="CompressedTextureSubImage2DEXT">
+ <param name="texture" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="level" type="GLint" />
+ <param name="xoffset" type="GLint" />
+ <param name="yoffset" type="GLint" />
+ <param name="width" type="GLsizei" />
+ <param name="height" type="GLsizei" />
+ <param name="format" type="GLenum" />
+ <param name="imageSize" type="GLsizei" />
+ <param name="data" type="const GLvoid *" />
</function>
<!-- OpenGL 1.5 -->
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index e7b1e126508..b938942ec89 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1479,6 +1479,7 @@ offsets = {
"NamedBufferStorageEXT": 1443,
"MapNamedBufferRangeEXT": 1444,
"TextureSubImage2DEXT": 1445,
+ "CompressedTextureSubImage2DEXT": 1446,
}
functions = [