glapi: Add XML infrastructure for ARB_compressed_texture_pixel_storage
authorChris Forbes <chrisf@ijw.co.nz>
Tue, 20 May 2014 09:28:41 +0000 (21:28 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Mon, 9 Jun 2014 19:38:38 +0000 (07:38 +1200)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mapi/glapi/gen/ARB_compressed_texture_pixel_storage.xml [new file with mode: 0644]
src/mapi/glapi/gen/Makefile.am
src/mapi/glapi/gen/gl_API.xml

diff --git a/src/mapi/glapi/gen/ARB_compressed_texture_pixel_storage.xml b/src/mapi/glapi/gen/ARB_compressed_texture_pixel_storage.xml
new file mode 100644 (file)
index 0000000..c9d0f11
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_ARB_compressed_texture_pixel_storage" number="110">
+
+    <enum name="UNPACK_COMPRESSED_BLOCK_WIDTH"  value="0x9127"/>
+    <enum name="UNPACK_COMPRESSED_BLOCK_HEIGHT" value="0x9128"/>
+    <enum name="UNPACK_COMPRESSED_BLOCK_DEPTH"  value="0x9129"/>
+    <enum name="UNPACK_COMPRESSED_BLOCK_SIZE"   value="0x912A"/>
+
+    <enum name="PACK_COMPRESSED_BLOCK_WIDTH"    value="0x912B"/>
+    <enum name="PACK_COMPRESSED_BLOCK_HEIGHT"   value="0x912C"/>
+    <enum name="PACK_COMPRESSED_BLOCK_DEPTH"    value="0x912D"/>
+    <enum name="PACK_COMPRESSED_BLOCK_SIZE"     value="0x912E"/>
+
+</category>
+
+</OpenGLAPI>
+
index 6f36989bcca5e95f48a57e7300128ac70b8b198f..be7d9e0efdbf563bce956a28967225ac710908a9 100644 (file)
@@ -113,6 +113,7 @@ API_XML = \
        ARB_blend_func_extended.xml \
        ARB_clear_buffer_object.xml \
        ARB_color_buffer_float.xml \
+       ARB_compressed_texture_pixel_storage.xml \
        ARB_compute_shader.xml \
        ARB_copy_buffer.xml \
        ARB_debug_output.xml \
index 0791bfc5797baf93d26c3b1257a51a148f8b1b55..de953a619377732d2e7f0ccdbdf3a55f3aa40981 100644 (file)
   </function>
 </category>
 
-<!-- ARB extensions #110...#116 -->
+<xi:include href="ARB_compressed_texture_pixel_storage.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
+<!-- ARB extensions #111...#116 -->
 
 <xi:include href="ARB_internalformat_query.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>