From: Tapani Pälli Date: Tue, 19 Nov 2019 10:44:29 +0000 (+0200) Subject: mapi: add GetInteger64vEXT with EXT_disjoint_timer_query X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d58fea660c36df0ce20c96a18628a373edba180;p=mesa.git 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 Reviewed-by: Marek Olšák --- 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 @@ + + + + + + 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 @@ -18083,6 +18083,12 @@ typedef unsigned int GLhandleARB; GLint64 *params + + void glGetInteger64vEXT + GLenum pname + GLint64 *data + + void glGetIntegerIndexedvEXT GLenum target @@ -44871,6 +44877,7 @@ typedef unsigned int GLhandleARB; + diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index 61201ee39b9..c1c293b843a 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -2418,6 +2418,7 @@ const struct function gles2_functions_possible[] = { { "glGetQueryObjecti64vEXT", 20, -1 }, { "glGetQueryObjectui64vEXT", 20, -1 }, { "glQueryCounterEXT", 20, -1 }, + { "glGetInteger64vEXT", 20, -1 }, /* GL_EXT_shader_framebuffer_fetch_non_coherent */ { "glFramebufferFetchBarrierEXT", 20, -1 }, @@ -2501,7 +2502,8 @@ const struct function gles3_functions_possible[] = { // { "glGetBufferPointerv", 30, -1 }, { "glGetFragDataLocation", 30, -1 }, { "glGetInteger64i_v", 30, -1 }, - { "glGetInteger64v", 30, -1 }, + // We check for the aliased -EXT version in GLES 2 + //{ "glGetInteger64v", 30, -1 }, { "glGetIntegeri_v", 30, -1 }, { "glGetInternalformativ", 30, -1 }, { "glGetInternalformati64v", 30, -1 },