[Mesa-dev] [PATCH 5/6] doc/specs: Reference the Khronos registry XML

Chad Versace chadversary at chromium.org
Thu Oct 13 22:06:55 UTC 2016


Years ago Khronos replaced the registry's spec files with newfangled XML
files.  Update the reference in doc/specs/enum.txt accordingly.
---
 docs/specs/enums.txt | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/docs/specs/enums.txt b/docs/specs/enums.txt
index b37768e..1a49db4 100644
--- a/docs/specs/enums.txt
+++ b/docs/specs/enums.txt
@@ -1,5 +1,10 @@
+The definitive source for enum values and reserved ranges are the XML files in
+the Khronos registry:
 
-See the OpenGL ARB enum registry at http://www.opengl.org/registry/api/enum.spec
+    https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/egl.xml
+    https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
+    https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/glx.xml
+    https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/wgl.xml
 
 Blocks allocated to Mesa:
        0x8750-0x875F
@@ -13,7 +18,7 @@ GL_MESA_packed_depth_stencil
 	GL_UNSIGNED_SHORT_15_1_MESA      0x8753
 	GL_UNSIGNED_SHORT_1_15_REV_MESA  0x8754
 
-GL_MESA_trace.spec:
+GL_MESA_trace:
 	GL_TRACE_ALL_BITS_MESA           0xFFFF
 	GL_TRACE_OPERATIONS_BIT_MESA     0x0001
 	GL_TRACE_PRIMITIVES_BIT_MESA     0x0002
@@ -24,12 +29,12 @@ GL_MESA_trace.spec:
 	GL_TRACE_MASK_MESA               0x8755
 	GL_TRACE_NAME_MESA               0x8756
 
-MESA_ycbcr_texture.spec:
+GL_MESA_ycbcr_texture:
 	GL_YCBCR_MESA                    0x8757
 	GL_UNSIGNED_SHORT_8_8_MESA       0x85BA /* same as Apple's */
 	GL_UNSIGNED_SHORT_8_8_REV_MESA   0x85BB /* same as Apple's */
 
-GL_MESA_pack_invert.spec
+GL_MESA_pack_invert:
 	GL_PACK_INVERT_MESA              0x8758
 
 GL_MESA_shader_debug.spec: (obsolete)
@@ -37,7 +42,7 @@ GL_MESA_shader_debug.spec: (obsolete)
         GL_DEBUG_PRINT_MESA              0x875A
         GL_DEBUG_ASSERT_MESA             0x875B
 
-GL_MESA_program_debug.spec: (obsolete)
+GL_MESA_program_debug: (obsolete)
 	GL_FRAGMENT_PROGRAM_CALLBACK_MESA      0x????
 	GL_VERTEX_PROGRAM_CALLBACK_MESA        0x????
 	GL_FRAGMENT_PROGRAM_POSITION_MESA      0x????
@@ -54,4 +59,3 @@ GL_MESAX_texture_stack:
 	GL_PROXY_TEXTURE_2D_STACK_MESAX      0x875C
 	GL_TEXTURE_1D_STACK_BINDING_MESAX    0x875D
 	GL_TEXTURE_2D_STACK_BINDING_MESAX    0x875E
-
-- 
2.10.0



More information about the mesa-dev mailing list