[Mesa-dev,v2,1/9] glapi: Add xml infrastructure for ARB_query_buffer_object

Submitted by Rafal Mielniczuk on March 27, 2014, 8:59 p.m.

Details

Message ID 1395953950-28609-2-git-send-email-rafal.mielniczuk2@gmail.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Rafal Mielniczuk March 27, 2014, 8:59 p.m.
v2: Fix copy-paste error and comment style

Signed-off-by: Rafal Mielniczuk <rafal.mielniczuk2@gmail.com>
---
 src/mapi/glapi/gen/ARB_query_buffer_object.xml | 18 ++++++++++++++++++
 src/mapi/glapi/gen/Makefile.am                 |  1 +
 src/mapi/glapi/gen/gl_API.xml                  |  4 ++++
 3 files changed, 23 insertions(+)
 create mode 100644 src/mapi/glapi/gen/ARB_query_buffer_object.xml

Patch hide | download patch | download mbox

diff --git a/src/mapi/glapi/gen/ARB_query_buffer_object.xml b/src/mapi/glapi/gen/ARB_query_buffer_object.xml
new file mode 100644
index 0000000..d2f1732
--- /dev/null
+++ b/src/mapi/glapi/gen/ARB_query_buffer_object.xml
@@ -0,0 +1,18 @@ 
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<!-- Note: no GLX protocol info yet. -->
+
+
+<OpenGLAPI>
+
+<category name="GL_ARB_query_buffer_object" number="148">
+
+    <enum name="QUERY_RESULT_NO_WAIT"               value="0x9194"/>
+    <enum name="QUERY_BUFFER"                       value="0x9192"/>
+    <enum name="QUERY_BUFFER_BINDING"               value="0x9193"/>
+    <enum name="QUERY_BUFFER_BARRIER_BIT"           value="0x00008000"/>
+
+</category>
+
+</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index 7b3c118..f9be947 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src/mapi/glapi/gen/Makefile.am
@@ -109,6 +109,7 @@  API_XML = \
 	ARB_internalformat_query.xml \
 	ARB_invalidate_subdata.xml \
 	ARB_map_buffer_range.xml \
+	ARB_query_buffer_object.xml \
 	ARB_robustness.xml \
 	ARB_sample_shading.xml \
 	ARB_sampler_objects.xml \
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 9129d57..2560370 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -8373,6 +8373,10 @@ 
     </function>
 </category>
 
+<!-- ARB extension #145...#147. -->
+
+<xi:include href="ARB_query_buffer_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
 <!-- Non-ARB extensions sorted by extension number. -->
 
 <category name="GL_EXT_blend_color" number="2">