summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-05-20 21:28:41 +1200
committerChris Forbes <[email protected]>2014-06-10 07:38:38 +1200
commitcef3f9b90938e6db5c1045e46b8ad3b26a1b7770 (patch)
tree4c25ef4c6da6a81e2d72b7131eaade2fd733ef82 /src/mapi/glapi/gen
parent8f63559c931265c1d4e244551a3fed9c5ebd07c8 (diff)
glapi: Add XML infrastructure for ARB_compressed_texture_pixel_storage
Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/ARB_compressed_texture_pixel_storage.xml21
-rw-r--r--src/mapi/glapi/gen/Makefile.am1
-rw-r--r--src/mapi/glapi/gen/gl_API.xml4
3 files changed, 25 insertions, 1 deletions
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 00000000000..c9d0f11bed6
--- /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 6f36989bcca..be7d9e0efdb 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 0791bfc5797..de953a61937 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"/>