mesa: API spec for GL_ARB_texture_buffer_object
authorBrian Paul <brianp@vmware.com>
Wed, 6 Apr 2011 00:48:26 +0000 (18:48 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 6 Apr 2011 00:48:26 +0000 (18:48 -0600)
src/mapi/glapi/gen/ARB_texture_buffer_object.xml [new file with mode: 0644]
src/mapi/glapi/gen/Makefile
src/mapi/glapi/gen/gl_API.xml

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 (file)
index 0000000..57680f5
--- /dev/null
@@ -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>
index 454ea4c9b31ae6d1a9ca4b37683a4cd23daf038a..f9aae84d19402f5c8b8092494cf64a027681ba14 100644 (file)
@@ -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 \
index cb20ac73e86e01f351f8cad3a43ac14d3a223b02..fe44a834f9617d6d02dca50c0a29b8f485bf0952 100644 (file)
 
 <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>