summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2012-01-16 21:45:22 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2012-03-26 21:28:25 +0000
commitfaf954f15173d04afbdaa9998e3259045ed75396 (patch)
treebd8f4e3f820b11f7a79f2b3af4ef0a8ddc190dc0
parentbae4cd6882fd69f3beac6d5c8dd33efb5b4ea777 (diff)
glapi: add GL_ARB_texture_compression_rgtc
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>
-rw-r--r--src/mapi/glapi/gen/ARB_texture_compression_rgtc.xml15
-rw-r--r--src/mapi/glapi/gen/Makefile1
-rw-r--r--src/mapi/glapi/gen/gl_API.xml2
3 files changed, 17 insertions, 1 deletions
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
index 00000000000..714f097419d
--- /dev/null
+++ b/src/mapi/glapi/gen/ARB_texture_compression_rgtc.xml
@@ -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>
diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/glapi/gen/Makefile
index 3e054d7043a..fb9dab9f3a2 100644
--- a/src/mapi/glapi/gen/Makefile
+++ b/src/mapi/glapi/gen/Makefile
@@ -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 \
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 2da411610d2..6726317634f 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -7916,7 +7916,7 @@
<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"/>