summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-11-30 12:43:58 -0800
committerIan Romanick <[email protected]>2013-01-15 21:34:45 -0800
commitbda540d2357f69a63dcf16550e178f803682d6ce (patch)
tree70d8b95af1ab2732b4416358f199a056aab93a9d /src/mapi/glapi
parent5e4bb063f03a066eb60225b544b81036ebf78638 (diff)
mesa: Add dispatch and extension XML for GL_ARB_internalformat_query
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/ARB_internalformat_query.xml21
-rw-r--r--src/mapi/glapi/gen/gl_API.xml6
-rw-r--r--src/mapi/glapi/gen/gl_genexec.py1
3 files changed, 26 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/ARB_internalformat_query.xml b/src/mapi/glapi/gen/ARB_internalformat_query.xml
new file mode 100644
index 00000000000..70a2a310975
--- /dev/null
+++ b/src/mapi/glapi/gen/ARB_internalformat_query.xml
@@ -0,0 +1,21 @@
+<?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>
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 934386031e3..4e5bef7b86a 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -8298,13 +8298,15 @@
</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"/>
diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py
index da9ae716a54..a85b4471afc 100644
--- a/src/mapi/glapi/gen/gl_genexec.py
+++ b/src/mapi/glapi/gen/gl_genexec.py
@@ -108,6 +108,7 @@ header = """/**
#include "main/shaderapi.h"
#include "main/uniforms.h"
#include "main/syncobj.h"
+#include "main/formatquery.h"
#include "main/dispatch.h"