aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-10-26 10:42:07 +0200
committerPierre-Eric Pelloux-Prayer <[email protected]>2019-11-05 13:58:28 +0100
commitfebedee4f6ca9f95228de511e968951b94644d12 (patch)
tree098ea6dd01ffcd780af30a0adf436190714a73f3 /src/mapi/glapi
parent2b44ca779b6532302b73398cc01b9daabef215a4 (diff)
mesa: add EXT_dsa glGetVertexArray* 4 functions
The implementation doesn't share much with get.c because: * the refactoring needed for get.c to not depend on ctx->Array.VAO would be quite large * glGetVertexArray* would still need to filter pname to only accept the one specified by the spec * these functions are getter, the implementation is trivial (the complexity is in the correct filtering of pname input) Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml26
-rw-r--r--src/mapi/glapi/gen/static_data.py4
2 files changed, 30 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 6c2dcedd645..bcabf7d29ca 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -1170,6 +1170,32 @@
<param name="index" type="GLuint" />
</function>
+ <function name="GetVertexArrayIntegervEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="pname" type="GLenum" />
+ <param name="param" type="GLint*" />
+ </function>
+
+ <function name="GetVertexArrayPointervEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="pname" type="GLenum" />
+ <param name="param" type="GLvoid**" />
+ </function>
+
+ <function name="GetVertexArrayIntegeri_vEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="index" type="GLuint" />
+ <param name="pname" type="GLenum" />
+ <param name="param" type="GLint*" />
+ </function>
+
+ <function name="GetVertexArrayPointeri_vEXT">
+ <param name="vaobj" type="GLuint" />
+ <param name="index" type="GLuint" />
+ <param name="pname" type="GLenum" />
+ <param name="param" type="GLvoid**" />
+ </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 0bf2377f739..6e84132e563 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1612,6 +1612,10 @@ offsets = {
"DisableVertexArrayEXT": 1576,
"EnableVertexArrayAttribEXT": 1577,
"DisableVertexArrayAttribEXT": 1578,
+ "GetVertexArrayIntegervEXT": 1579,
+ "GetVertexArrayPointervEXT": 1580,
+ "GetVertexArrayIntegeri_vEXT": 1581,
+ "GetVertexArrayPointeri_vEXT": 1582
}
functions = [