[Mesa-dev] [PATCH 05/16] glapi: Update dispatch XML files for OES_texture_compression_astc.xml

Anuj Phogat anuj.phogat at gmail.com
Sat Mar 5 01:29:50 UTC 2016


Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
---
 src/mapi/glapi/gen/Makefile.am                     |  1 +
 .../glapi/gen/OES_texture_compression_astc.xml     | 61 ++++++++++++++++++++++
 src/mapi/glapi/gen/gl_API.xml                      |  2 +
 3 files changed, 64 insertions(+)
 create mode 100644 src/mapi/glapi/gen/OES_texture_compression_astc.xml

diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index 8421af4..d94fd0a 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src/mapi/glapi/gen/Makefile.am
@@ -209,6 +209,7 @@ API_XML = \
 	OES_EGL_image.xml \
 	OES_fixed_point.xml \
 	OES_single_precision.xml \
+	OES_texture_compression_astc.xml \
 	GL3x.xml \
 	GL4x.xml
 
diff --git a/src/mapi/glapi/gen/OES_texture_compression_astc.xml b/src/mapi/glapi/gen/OES_texture_compression_astc.xml
new file mode 100644
index 0000000..4e8de71
--- /dev/null
+++ b/src/mapi/glapi/gen/OES_texture_compression_astc.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_OES_texture_compression_astc" number="162">
+
+    <enum name="COMPRESSED_RGBA_ASTC_4x4_KHR"   value="0x93B0"/>
+    <enum name="COMPRESSED_RGBA_ASTC_5x4_KHR"   value="0x93B1"/>
+    <enum name="COMPRESSED_RGBA_ASTC_5x5_KHR"   value="0x93B2"/>
+    <enum name="COMPRESSED_RGBA_ASTC_6x5_KHR"   value="0x93B3"/>
+    <enum name="COMPRESSED_RGBA_ASTC_6x6_KHR"   value="0x93B4"/>
+    <enum name="COMPRESSED_RGBA_ASTC_8x5_KHR"   value="0x93B5"/>
+    <enum name="COMPRESSED_RGBA_ASTC_8x6_KHR"   value="0x93B6"/>
+    <enum name="COMPRESSED_RGBA_ASTC_8x8_KHR"   value="0x93B7"/>
+    <enum name="COMPRESSED_RGBA_ASTC_10x5_KHR"  value="0x93B8"/>
+    <enum name="COMPRESSED_RGBA_ASTC_10x6_KHR"  value="0x93B9"/>
+    <enum name="COMPRESSED_RGBA_ASTC_10x8_KHR"  value="0x93BA"/>
+    <enum name="COMPRESSED_RGBA_ASTC_10x10_KHR" value="0x93BB"/>
+    <enum name="COMPRESSED_RGBA_ASTC_12x10_KHR" value="0x93BC"/>
+    <enum name="COMPRESSED_RGBA_ASTC_12x12_KHR" value="0x93BD"/>
+
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR"   value="0x93D0"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR"   value="0x93D1"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR"   value="0x93D2"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR"   value="0x93D3"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR"   value="0x93D4"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR"   value="0x93D5"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR"   value="0x93D6"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR"   value="0x93D7"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR"  value="0x93D8"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR"  value="0x93D9"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR"  value="0x93DA"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR" value="0x93DB"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR" value="0x93DC"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR" value="0x93DD"/>
+
+    <enum name="COMPRESSED_RGBA_ASTC_3x3x3_OES"   value="0x93C0"/>
+    <enum name="COMPRESSED_RGBA_ASTC_4x3x3_OES"   value="0x93C1"/>
+    <enum name="COMPRESSED_RGBA_ASTC_4x4x3_OES"   value="0x93C2"/>
+    <enum name="COMPRESSED_RGBA_ASTC_4x4x4_OES"   value="0x93C3"/>
+    <enum name="COMPRESSED_RGBA_ASTC_5x4x4_OES"   value="0x93C4"/>
+    <enum name="COMPRESSED_RGBA_ASTC_5x5x4_OES"   value="0x93C5"/>
+    <enum name="COMPRESSED_RGBA_ASTC_5x5x5_OES"   value="0x93C6"/>
+    <enum name="COMPRESSED_RGBA_ASTC_6x5x5_OES"   value="0x93C7"/>
+    <enum name="COMPRESSED_RGBA_ASTC_6x6x5_OES"   value="0x93C8"/>
+    <enum name="COMPRESSED_RGBA_ASTC_6x6x6_OES"   value="0x93C9"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES"   value="0x93E0"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES"   value="0x93E1"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES"   value="0x93E2"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES"   value="0x93E3"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES"   value="0x93E4"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES"   value="0x93E5"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES"   value="0x93E6"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES"   value="0x93E7"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES"   value="0x93E8"/>
+    <enum name="COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES"   value="0x93E9"/>
+
+</category>
+
+</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 8b49f91..03adf08 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -8271,6 +8271,8 @@
 
 <!-- ARB extensions 162 - 163 -->
 
+<xi:include href="OES_texture_compression_astc.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
 <xi:include href="ARB_direct_state_access.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
 <xi:include href="ARB_get_texture_sub_image.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
-- 
2.5.0



More information about the mesa-dev mailing list