glapi: add GL_ARB_texture_compression_rgtc
authorDylan Noblesmith <nobled@dreamwidth.org>
Mon, 16 Jan 2012 21:45:22 +0000 (21:45 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Mon, 26 Mar 2012 21:28:25 +0000 (21:28 +0000)
Noticed this was missing when writing the "glapi: sort ARB extensions
by number" commit, which at least shows it was effective.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mapi/glapi/gen/ARB_texture_compression_rgtc.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_compression_rgtc.xml b/src/mapi/glapi/gen/ARB_texture_compression_rgtc.xml
new file mode 100644 (file)
index 0000000..714f097
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_ARB_texture_compression_rgtc" number="52">
+
+    <enum name="COMPRESSED_RED_RGTC1"        value = "0x8DBB"/>
+    <enum name="COMPRESSED_SIGNED_RED_RGTC1" value = "0x8DBC"/>
+    <enum name="COMPRESSED_RG_RGTC2"         value = "0x8DBD"/>
+    <enum name="COMPRESSED_SIGNED_RG_RGTC2"  value = "0x8DBE"/>
+
+</category>
+
+</OpenGLAPI>
index 3e054d7..fb9dab9 100644 (file)
@@ -80,6 +80,7 @@ API_XML = \
        ARB_seamless_cube_map.xml \
        ARB_sync.xml \
        ARB_texture_buffer_object.xml \
+       ARB_texture_compression_rgtc.xml \
        ARB_texture_rg.xml \
        ARB_texture_storage.xml \
        ARB_vertex_array_object.xml \
index 2da4116..6726317 100644 (file)
 
 <xi:include href="ARB_texture_buffer_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
-<!-- 52. GL_ARB_texture_compression_rgtc -->
+<xi:include href="ARB_texture_compression_rgtc.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
 <xi:include href="ARB_texture_rg.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>