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

Submitted by Rafal Mielniczuk on March 19, 2014, 9:30 p.m.

Details

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

Not browsing as part of any series.

Commit Message

Rafal Mielniczuk March 19, 2014, 9:30 p.m.
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..9a138cb
--- /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_map_buffer_range" 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..d536ce8 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">

Comments

On Wed, 2014-03-19 at 22:30 +0100, Rafal Mielniczuk wrote:
> 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
> 
> 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..9a138cb
> --- /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_map_buffer_range" number="148">
> +

Copy and paste error?
On Wed, Mar 19, 2014 at 2:30 PM, Rafal Mielniczuk
<rafal.mielniczuk2@gmail.com> wrote:
> +<!-- ARB extension 145 - 147. -->

Please use the same style that all of the other comments use... except
the 142-143 one that I missed.

<!-- ARB extensions #145...#147 -->