summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-09-03 09:53:31 +1000
committerMarek Olšák <[email protected]>2019-06-28 15:41:19 -0400
commitb82b3d28d340dfbcebde471cb9037e57a0ac48da (patch)
treefce1ca2d9f81676929d6f9bc703e6d0e487a7368 /src/mapi/glapi/gen
parentcb0f25a9269050a8efbd526c89ae541c2d37c367 (diff)
mesa: add support for glTextureSubImage2DEXT()
Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml15
-rw-r--r--src/mapi/glapi/gen/static_data.py1
2 files changed, 16 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 6a6a118a2bd..53c6aa7d563 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -100,6 +100,21 @@
<param name="matrixMode" type="GLenum" />
</function>
+ <!-- OpenGL 1.1 -->
+
+ <function name="TextureSubImage2DEXT">
+ <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="type" type="GLenum" />
+ <param name="pixels" type="const GLvoid *" />
+ </function>
+
<!-- OpenGL 1.2.1 -->
<function name="BindMultiTextureEXT">
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 3970452b0cb..e7b1e126508 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1478,6 +1478,7 @@ offsets = {
"NamedBufferSubDataEXT": 1442,
"NamedBufferStorageEXT": 1443,
"MapNamedBufferRangeEXT": 1444,
+ "TextureSubImage2DEXT": 1445,
}
functions = [