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

Author: Dylan Noblesmith <[email protected]>
Date:   Mon Jan 16 21:45:22 2012 +0000

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 <[email protected]>

---

 .../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(-)

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..714f097
--- /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 3e054d7..fb9dab9 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 2da4116..6726317 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"/>
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to