summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-10-25 11:06:21 +0200
committerPierre-Eric Pelloux-Prayer <[email protected]>2019-11-05 13:58:28 +0100
commita26bb93943c8071c75615d1d4ebc4e66ee56c0c3 (patch)
tree2ff0885f9167d2647ba06980f7470fed73e08e8c /src/mapi
parentbfc1e4c1126c9becfd104640e08df4d8e689afb1 (diff)
mesa: add EXT_dsa glVertexArray* functions declarations
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml98
-rw-r--r--src/mapi/glapi/gen/static_data.py11
2 files changed, 109 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 336f3ad5289..19f9048f84a 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -1052,6 +1052,104 @@
<param name="size" type="GLsizeiptr" />
</function>
+ <function name="VertexArrayVertexOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="size" type="GLint" />
+ <param name="type" type="GLenum" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArrayColorOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="size" type="GLint" />
+ <param name="type" type="GLenum" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArrayEdgeFlagOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArrayIndexOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="type" type="GLenum" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArrayNormalOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="type" type="GLenum" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArrayTexCoordOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="size" type="GLint" />
+ <param name="type" type="GLenum" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArrayMultiTexCoordOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="texunit" type="GLenum" />
+ <param name="size" type="GLint" />
+ <param name="type" type="GLenum" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArrayFogCoordOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="type" type="GLenum" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArraySecondaryColorOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="size" type="GLint" />
+ <param name="type" type="GLenum" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArrayVertexAttribOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="index" type="GLuint" />
+ <param name="size" type="GLint" />
+ <param name="type" type="GLenum" />
+ <param name="normalized" type="GLboolean" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
+ <function name="VertexArrayVertexAttribIOffsetEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="buffer" type="GLuint" />
+ <param name="index" type="GLuint" />
+ <param name="size" type="GLint" />
+ <param name="type" type="GLenum" />
+ <param name="stride" type="GLsizei" />
+ <param name="offset" type="GLintptr" />
+ </function>
+
<!-- ARB_vertex_program -->
<function name="NamedProgramStringEXT">
<param name="program" type="GLuint" />
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 01bc6ed95ea..43011be402d 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1597,6 +1597,17 @@ offsets = {
"GenerateMultiTexMipmapEXT": 1561,
"NamedRenderbufferStorageMultisampleEXT": 1562,
"NamedCopyBufferSubDataEXT": 1563,
+ "VertexArrayVertexOffsetEXT": 1564,
+ "VertexArrayColorOffsetEXT": 1565,
+ "VertexArrayEdgeFlagOffsetEXT": 1566,
+ "VertexArrayIndexOffsetEXT": 1567,
+ "VertexArrayNormalOffsetEXT": 1568,
+ "VertexArrayTexCoordOffsetEXT": 1569,
+ "VertexArrayMultiTexCoordOffsetEXT": 1570,
+ "VertexArrayFogCoordOffsetEXT": 1571,
+ "VertexArraySecondaryColorOffsetEXT": 1572,
+ "VertexArrayVertexAttribOffsetEXT": 1573,
+ "VertexArrayVertexAttribIOffsetEXT": 1574,
}
functions = [