aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-05-06 11:25:04 +0200
committerMarek Olšák <[email protected]>2019-08-19 18:49:57 -0400
commit8c76221886358ce9f1377507c317d3aa1b02d23c (patch)
tree99d9421542218f2757057c9830a75347907d840f /src/mapi/glapi
parent7df233d68dc11df3e501e001bec550da10aef92a (diff)
mesa: add EXT_dsa glCompressedTexture(Sub)Image1D/2D/3D functions
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml69
-rw-r--r--src/mapi/glapi/gen/static_data.py132
2 files changed, 138 insertions, 63 deletions
diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml
index 155b2ade145..108bbad8757 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -663,6 +663,53 @@
<param name="m" type="const GLdouble *" />
</function>
+ <function name="CompressedTextureImage1DEXT">
+ <param name="texture" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="level" type="GLint" />
+ <param name="internalFormat" type="GLenum" />
+ <param name="width" type="GLsizei" />
+ <param name="border" type="GLsizei" />
+ <param name="imageSize" type="GLsizei" />
+ <param name="data" type="const GLvoid *" />
+ </function>
+
+ <function name="CompressedTextureImage2DEXT">
+ <param name="texture" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="level" type="GLint" />
+ <param name="internalFormat" type="GLenum" />
+ <param name="width" type="GLsizei" />
+ <param name="height" type="GLsizei" />
+ <param name="border" type="GLsizei" />
+ <param name="imageSize" type="GLsizei" />
+ <param name="data" type="const GLvoid *" />
+ </function>
+
+ <function name="CompressedTextureImage3DEXT">
+ <param name="texture" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="level" type="GLint" />
+ <param name="internalFormat" type="GLenum" />
+ <param name="width" type="GLsizei" />
+ <param name="height" type="GLsizei" />
+ <param name="depth" type="GLsizei" />
+ <param name="border" type="GLsizei" />
+ <param name="imageSize" type="GLsizei" />
+ <param name="data" type="const GLvoid *" />
+ </function>
+
+ <function name="CompressedTextureSubImage1DEXT">
+ <param name="texture" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="level" type="GLint" />
+ <param name="xoffset" type="GLint" />
+ <param name="width" type="GLsizei" />
+ <param name="format" type="GLenum" />
+ <param name="imageSize" type="GLsizei" />
+ <param name="data" type="const GLvoid *" />
+ </function>
+
<function name="CompressedTextureSubImage2DEXT">
<param name="texture" type="GLuint" />
<param name="target" type="GLenum" />
@@ -676,6 +723,28 @@
<param name="data" type="const GLvoid *" />
</function>
+ <function name="CompressedTextureSubImage3DEXT">
+ <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="zoffset" type="GLint" />
+ <param name="width" type="GLsizei" />
+ <param name="height" type="GLsizei" />
+ <param name="depth" type="GLsizei" />
+ <param name="format" type="GLenum" />
+ <param name="imageSize" type="GLsizei" />
+ <param name="data" type="const GLvoid *" />
+ </function>
+
+ <function name="GetCompressedTextureImageEXT">
+ <param name="texture" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="level" type="GLint" />
+ <param name="img" type="GLvoid *" />
+ </function>
+
<!-- OpenGL 1.5 -->
<function name="NamedBufferDataEXT">
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 231563fd622..c9b59988864 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1489,69 +1489,75 @@ offsets = {
"CopyTextureSubImage1DEXT": 1453,
"CopyTextureSubImage2DEXT": 1454,
"CopyTextureSubImage3DEXT": 1455,
- "CompressedTextureSubImage2DEXT": 1456,
- "MapNamedBufferEXT": 1457,
- "GetTextureParameterivEXT": 1458,
- "GetTextureParameterfvEXT": 1459,
- "TextureParameteriEXT": 1460,
- "TextureParameterivEXT": 1461,
- "TextureParameterfEXT": 1462,
- "TextureParameterfvEXT": 1463,
- "GetTextureImageEXT": 1464,
- "GetTextureLevelParameterivEXT": 1465,
- "GetTextureLevelParameterfvEXT": 1466,
- "GetNamedBufferSubDataEXT": 1467,
- "GetNamedBufferPointervEXT": 1468,
- "GetNamedBufferParameterivEXT": 1469,
- "FlushMappedNamedBufferRangeEXT": 1470,
- "FramebufferDrawBufferEXT": 1471,
- "FramebufferDrawBuffersEXT": 1472,
- "FramebufferReadBufferEXT": 1473,
- "GetFramebufferParameterivEXT": 1474,
- "CheckNamedFramebufferStatusEXT": 1475,
- "NamedFramebufferTexture1DEXT": 1476,
- "NamedFramebufferTexture2DEXT": 1477,
- "NamedFramebufferTexture3DEXT": 1478,
- "NamedFramebufferRenderbufferEXT": 1479,
- "GetNamedFramebufferAttachmentParameterivEXT": 1480,
- "EnableClientStateiEXT": 1481,
- "DisableClientStateiEXT": 1482,
- "GetPointerIndexedvEXT": 1483,
- "MultiTexEnviEXT": 1484,
- "MultiTexEnvivEXT": 1485,
- "MultiTexEnvfEXT": 1486,
- "MultiTexEnvfvEXT": 1487,
- "GetMultiTexEnvivEXT": 1488,
- "GetMultiTexEnvfvEXT": 1489,
- "MultiTexParameteriEXT": 1490,
- "MultiTexParameterivEXT": 1491,
- "MultiTexParameterfEXT": 1492,
- "MultiTexParameterfvEXT": 1493,
- "GetMultiTexImageEXT": 1494,
- "MultiTexImage1DEXT": 1495,
- "MultiTexImage2DEXT": 1496,
- "MultiTexImage3DEXT": 1497,
- "MultiTexSubImage1DEXT": 1498,
- "MultiTexSubImage2DEXT": 1499,
- "MultiTexSubImage3DEXT": 1500,
- "GetMultiTexParameterivEXT": 1501,
- "GetMultiTexParameterfvEXT": 1502,
- "CopyMultiTexImage1DEXT": 1503,
- "CopyMultiTexImage2DEXT": 1504,
- "CopyMultiTexSubImage1DEXT": 1505,
- "CopyMultiTexSubImage2DEXT": 1506,
- "CopyMultiTexSubImage3DEXT": 1507,
- "MultiTexGendEXT": 1508,
- "MultiTexGendvEXT": 1509,
- "MultiTexGenfEXT": 1510,
- "MultiTexGenfvEXT": 1511,
- "MultiTexGeniEXT": 1512,
- "MultiTexGenivEXT": 1513,
- "GetMultiTexGendvEXT": 1514,
- "GetMultiTexGenfvEXT": 1515,
- "GetMultiTexGenivEXT": 1516,
- "MultiTexCoordPointerEXT": 1517,
- "BindImageTextureEXT": 1518,
+ "MapNamedBufferEXT": 1456,
+ "GetTextureParameterivEXT": 1457,
+ "GetTextureParameterfvEXT": 1458,
+ "TextureParameteriEXT": 1459,
+ "TextureParameterivEXT": 1460,
+ "TextureParameterfEXT": 1461,
+ "TextureParameterfvEXT": 1462,
+ "GetTextureImageEXT": 1463,
+ "GetTextureLevelParameterivEXT": 1464,
+ "GetTextureLevelParameterfvEXT": 1465,
+ "GetNamedBufferSubDataEXT": 1466,
+ "GetNamedBufferPointervEXT": 1467,
+ "GetNamedBufferParameterivEXT": 1468,
+ "FlushMappedNamedBufferRangeEXT": 1469,
+ "FramebufferDrawBufferEXT": 1470,
+ "FramebufferDrawBuffersEXT": 1471,
+ "FramebufferReadBufferEXT": 1472,
+ "GetFramebufferParameterivEXT": 1473,
+ "CheckNamedFramebufferStatusEXT": 1474,
+ "NamedFramebufferTexture1DEXT": 1475,
+ "NamedFramebufferTexture2DEXT": 1476,
+ "NamedFramebufferTexture3DEXT": 1477,
+ "NamedFramebufferRenderbufferEXT": 1478,
+ "GetNamedFramebufferAttachmentParameterivEXT": 1479,
+ "EnableClientStateiEXT": 1480,
+ "DisableClientStateiEXT": 1481,
+ "GetPointerIndexedvEXT": 1482,
+ "MultiTexEnviEXT": 1483,
+ "MultiTexEnvivEXT": 1484,
+ "MultiTexEnvfEXT": 1485,
+ "MultiTexEnvfvEXT": 1486,
+ "GetMultiTexEnvivEXT": 1487,
+ "GetMultiTexEnvfvEXT": 1488,
+ "MultiTexParameteriEXT": 1489,
+ "MultiTexParameterivEXT": 1490,
+ "MultiTexParameterfEXT": 1491,
+ "MultiTexParameterfvEXT": 1492,
+ "GetMultiTexImageEXT": 1493,
+ "MultiTexImage1DEXT": 1494,
+ "MultiTexImage2DEXT": 1495,
+ "MultiTexImage3DEXT": 1496,
+ "MultiTexSubImage1DEXT": 1497,
+ "MultiTexSubImage2DEXT": 1498,
+ "MultiTexSubImage3DEXT": 1499,
+ "GetMultiTexParameterivEXT": 1500,
+ "GetMultiTexParameterfvEXT": 1501,
+ "CopyMultiTexImage1DEXT": 1502,
+ "CopyMultiTexImage2DEXT": 1503,
+ "CopyMultiTexSubImage1DEXT": 1504,
+ "CopyMultiTexSubImage2DEXT": 1505,
+ "CopyMultiTexSubImage3DEXT": 1506,
+ "MultiTexGendEXT": 1507,
+ "MultiTexGendvEXT": 1508,
+ "MultiTexGenfEXT": 1509,
+ "MultiTexGenfvEXT": 1510,
+ "MultiTexGeniEXT": 1511,
+ "MultiTexGenivEXT": 1512,
+ "GetMultiTexGendvEXT": 1513,
+ "GetMultiTexGenfvEXT": 1514,
+ "GetMultiTexGenivEXT": 1515,
+ "MultiTexCoordPointerEXT": 1516,
+ "BindImageTextureEXT": 1517,
+ "CompressedTextureImage1DEXT": 1518,
+ "CompressedTextureImage2DEXT": 1519,
+ "CompressedTextureImage3DEXT": 1520,
+ "CompressedTextureSubImage1DEXT": 1521,
+ "CompressedTextureSubImage2DEXT": 1522,
+ "CompressedTextureSubImage3DEXT": 1523,
+ "GetCompressedTextureImageEXT": 1524,
}
functions = [