From 2453bba504ef2e88c5ab3737f159314572527a46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Thu, 19 Nov 2015 11:26:05 +0100 Subject: [PATCH] mesa: Add dispatch and extension XML for GL_ARB_internalformat_query2 Equivalent to commit bda540 (that added GL_ARB_internalformat_query) v2: include the new xml to to API_XML list at Makefile.am (Emil Velikov) Reviewed-by: Dave Airlie --- src/mapi/glapi/gen/ARB_internalformat_query2.xml | 119 +++++++++++++++++++++++ src/mapi/glapi/gen/Makefile.am | 1 + src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/tests/dispatch_sanity.cpp | 4 + 4 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 src/mapi/glapi/gen/ARB_internalformat_query2.xml diff --git a/src/mapi/glapi/gen/ARB_internalformat_query2.xml b/src/mapi/glapi/gen/ARB_internalformat_query2.xml new file mode 100644 index 0000000..9b0f320 --- /dev/null +++ b/src/mapi/glapi/gen/ARB_internalformat_query2.xml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am index cd7feab..8421af4 100644 --- a/src/mapi/glapi/gen/Makefile.am +++ b/src/mapi/glapi/gen/Makefile.am @@ -148,6 +148,7 @@ API_XML = \ ARB_indirect_parameters.xml \ ARB_instanced_arrays.xml \ ARB_internalformat_query.xml \ + ARB_internalformat_query2.xml \ ARB_invalidate_subdata.xml \ ARB_map_buffer_range.xml \ ARB_multi_bind.xml \ diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index db98ac0..8b49f91 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -8195,7 +8195,7 @@ - + diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index 24e3d18..09b97c3 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -857,6 +857,9 @@ const struct function common_desktop_functions_possible[] = { /* GL_ARB_internalformat_query */ { "glGetInternalformativ", 30, -1 }, + /* GL_ARB_internalformat_query */ + { "glGetInternalformati64v", 30, -1 }, + /* GL_ARB_multi_bind */ { "glBindBuffersBase", 44, -1 }, { "glBindBuffersRange", 44, -1 }, @@ -2355,6 +2358,7 @@ const struct function gles3_functions_possible[] = { { "glGetInteger64v", 30, -1 }, { "glGetIntegeri_v", 30, -1 }, { "glGetInternalformativ", 30, -1 }, + { "glGetInternalformati64v", 30, -1 }, // glGetProgramBinary aliases glGetProgramBinaryOES in GLES 2 { "glGetQueryiv", 30, -1 }, { "glGetQueryObjectuiv", 30, -1 }, -- 2.7.4