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 <marek.olsak@amd.com>
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -1612,6 +1612,10 @@ offsets = {
|
||||
"DisableVertexArrayEXT": 1576,
|
||||
"EnableVertexArrayAttribEXT": 1577,
|
||||
"DisableVertexArrayAttribEXT": 1578,
|
||||
"GetVertexArrayIntegervEXT": 1579,
|
||||
"GetVertexArrayPointervEXT": 1580,
|
||||
"GetVertexArrayIntegeri_vEXT": 1581,
|
||||
"GetVertexArrayPointeri_vEXT": 1582
|
||||
}
|
||||
|
||||
functions = [
|
||||
|
||||
Reference in New Issue
Block a user