Mesa (master): glapi: Add XML infrastructure for ARB_compressed_texture_pixel_storage

Chris Forbes chrisf at kemper.freedesktop.org
Mon Jun 9 07:46:38 UTC 2014


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

Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Tue May 20 21:28:41 2014 +1200

glapi: Add XML infrastructure for ARB_compressed_texture_pixel_storage

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

---

 .../gen/ARB_compressed_texture_pixel_storage.xml   |   21 ++++++++++++++++++++
 src/mapi/glapi/gen/Makefile.am                     |    1 +
 src/mapi/glapi/gen/gl_API.xml                      |    4 +++-
 3 files changed, 25 insertions(+), 1 deletion(-)

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
index 0000000..c9d0f11
--- /dev/null
+++ b/src/mapi/glapi/gen/ARB_compressed_texture_pixel_storage.xml
@@ -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>
+
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index 6f36989..be7d9e0 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src/mapi/glapi/gen/Makefile.am
@@ -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 \
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 0791bfc..de953a6 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -8276,7 +8276,9 @@
   </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"/>
 




More information about the mesa-commit mailing list