--- /dev/null
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_ARB_internalformat_query" number="112">
+ <!-- Other existing enums are reused for this extension. -->
+
+ <enum name="NUM_SAMPLE_COUNTS" value="0x9380"/>
+
+ <function name="GetInternalformativ" offset="assign" static_dispatch="false"
+ es2="3.0">
+ <param name="target" type="GLenum"/>
+ <param name="internalformat" type="GLenum"/>
+ <param name="pname" type="GLenum"/>
+ <param name="bufSize" type="GLsizei"/>
+ <param name="params" type="GLint *"/>
+ </function>
+</category>
+
+</OpenGLAPI>
</function>
</category>
-<!-- ARB extensions #110...#112 -->
+<!-- ARB extensions #110...#116 -->
+
+<xi:include href="ARB_internalformat_query.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<category name="GL_ARB_map_buffer_alignment" number="113">
<enum name="MIN_MAP_BUFFER_ALIGNMENT" value="0x90BC" />
</category>
-<!-- ARB extensions #114...#116 -->
+<xi:include href="ARB_base_instance.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="ARB_texture_storage.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
// { "glTextureStorage2DMultisampleEXT", 43, -1 }, // XXX: Add to xml
// { "glTextureStorage3DMultisampleEXT", 43, -1 }, // XXX: Add to xml
+ /* GL_ARB_internalformat_query */
+ { "glGetInternalformativ", 30, -1 },
+
{ NULL, 0, -1 }
};
{ "glGetInteger64i_v", 30, -1 },
{ "glGetInteger64v", 30, -1 },
{ "glGetIntegeri_v", 30, -1 },
- // XXX: Missing implementation of ARB_internalformat_query
- // { "glGetInternalformativ", 30, -1 },
+ { "glGetInternalformativ", 30, -1 },
// glGetProgramBinary aliases glGetProgramBinaryOES in GLES 2
{ "glGetQueryiv", 30, -1 },
{ "glGetQueryObjectuiv", 30, -1 },