[Mesa-dev] [PATCH 4/4] glapi: add GL_ARB_texture_compression_rgtc

nobled nobled at dreamwidth.org
Mon Jan 16 15:50:44 PST 2012


Noticed this was missing when writing the "glapi: sort ARB extensions
by number" commit, which at least shows it was effective.
---
 .../glapi/gen/ARB_texture_compression_rgtc.xml     |   15 +++++++++++++++
 src/mapi/glapi/gen/Makefile                        |    1 +
 src/mapi/glapi/gen/gl_API.xml                      |    2 +-
 3 files changed, 17 insertions(+), 1 deletions(-)
 create mode 100644 src/mapi/glapi/gen/ARB_texture_compression_rgtc.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
index 0000000..f0ecabd
--- /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_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 6bf6f86..6d159f9 100644
--- a/src/mapi/glapi/gen/Makefile
+++ b/src/mapi/glapi/gen/Makefile
@@ -79,6 +79,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 0ac3624..3c0c6de 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -7914,7 +7914,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"/>

-- 
1.7.4.1


More information about the mesa-dev mailing list