aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-11-19 12:44:29 +0200
committerTapani Pälli <[email protected]>2019-11-26 07:41:24 +0200
commit5d58fea660c36df0ce20c96a18628a373edba180 (patch)
tree985605c2643701c5d6190396a4aaccf3ab71e8ad /src/mapi
parent200a3301e2c1e9452dbdaef84b7e2661f59d41e5 (diff)
mapi: add GetInteger64vEXT with EXT_disjoint_timer_query
From EXT_disjoint_timer_query spec: "Interaction: This extension adds GetInteger64vEXT if OpenGL ES 3.0 is not supported" See https://github.com/KhronosGroup/OpenGL-Registry/issues/326. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2090 Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/es_EXT.xml6
-rw-r--r--src/mapi/glapi/registry/gl.xml7
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index e3cad15679d..adbcba1ed2a 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -864,6 +864,12 @@
<param name="id" type="GLuint"/>
<param name="target" type="GLenum"/>
</function>
+
+ <function name="GetInteger64vEXT" alias="GetInteger64v" es2="2.0">
+ <param name="pname" type="GLenum"/>
+ <param name="params" type="GLint64 *" output="true" variable_param="pname"/>
+ </function>
+
</category>
<!-- 151. GL_EXT_draw_buffers -->
diff --git a/src/mapi/glapi/registry/gl.xml b/src/mapi/glapi/registry/gl.xml
index 3a2010f17cb..e2cd8c8c148 100644
--- a/src/mapi/glapi/registry/gl.xml
+++ b/src/mapi/glapi/registry/gl.xml
@@ -18084,6 +18084,12 @@ typedef unsigned int GLhandleARB;
<alias name="glGetInteger64v"/>
</command>
<command>
+ <proto>void <name>glGetInteger64vEXT</name></proto>
+ <param group="GetPName"><ptype>GLenum</ptype> <name>pname</name></param>
+ <param len="COMPSIZE(pname)"><ptype>GLint64</ptype> *<name>data</name></param>
+ <alias name="glGetInteger64v"/>
+ </command>
+ <command>
<proto>void <name>glGetIntegerIndexedvEXT</name></proto>
<param><ptype>GLenum</ptype> <name>target</name></param>
<param><ptype>GLuint</ptype> <name>index</name></param>
@@ -44871,6 +44877,7 @@ typedef unsigned int GLhandleARB;
<command name="glGetQueryObjectuivEXT"/>
<command name="glGetQueryObjecti64vEXT"/>
<command name="glGetQueryObjectui64vEXT"/>
+ <command name="glGetInteger64vEXT"/>
</require>
</extension>
<extension name="GL_EXT_draw_buffers" supported="gles2">