Mesa (master): mesa: API spec for GL_ARB_texture_buffer_object

Brian Paul brianp at kemper.freedesktop.org
Tue Apr 5 18:03:56 PDT 2011


Module: Mesa
Branch: master
Commit: 13ba6b7369fc9689089c3a2607d9c65b50ef1126
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=13ba6b7369fc9689089c3a2607d9c65b50ef1126

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Apr  5 18:48:26 2011 -0600

mesa: API spec for GL_ARB_texture_buffer_object

---

 src/mapi/glapi/gen/ARB_texture_buffer_object.xml |   22 ++++++++++++++++++++++
 src/mapi/glapi/gen/Makefile                      |    1 +
 src/mapi/glapi/gen/gl_API.xml                    |    2 ++
 3 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/src/mapi/glapi/gen/ARB_texture_buffer_object.xml b/src/mapi/glapi/gen/ARB_texture_buffer_object.xml
new file mode 100644
index 0000000..57680f5
--- /dev/null
+++ b/src/mapi/glapi/gen/ARB_texture_buffer_object.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_ARB_texture_buffer_object" number="51">
+
+    <enum name="TEXTURE_BUFFER_ARB"                     value="0x8C2A"/>
+    <enum name="MAX_TEXTURE_BUFFER_SIZE_ARB"            value="0x8C2B"/>
+    <enum name="TEXTURE_BINDING_BUFFER_ARB"             value="0x8C2C"/>
+    <enum name="TEXTURE_BUFFER_DATA_STORE_BINDING_ARB"  value="0x8C2D"/>
+    <enum name="TEXTURE_BUFFER_FORMAT_ARB"              value="0x8C2E"/>
+
+    <function name="TexBufferARB" offset="assign">
+        <param name="target" type="GLenum"/>
+        <param name="internalFormat" type="GLenum"/>
+        <param name="buffer" type="GLuint"/>
+    </function>
+
+</category>
+
+</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/glapi/gen/Makefile
index 454ea4c..f9aae84 100644
--- a/src/mapi/glapi/gen/Makefile
+++ b/src/mapi/glapi/gen/Makefile
@@ -82,6 +82,7 @@ API_XML = \
 	ARB_map_buffer_range.xml \
 	ARB_seamless_cube_map.xml \
 	ARB_sync.xml \
+	ARB_texture_buffer_object.xml \
 	ARB_vertex_array_object.xml \
 	APPLE_object_purgeable.xml \
 	APPLE_vertex_array_object.xml \
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index cb20ac7..fe44a83 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -12530,4 +12530,6 @@
 
 <xi:include href="ARB_draw_buffers_blend.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
+<xi:include href="ARB_texture_buffer_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
 </OpenGLAPI>



More information about the mesa-commit mailing list