Mesa (master): glapi: Use GL_ or GLX_ prefix for all category names.

Paul Berry stereotype441 at kemper.freedesktop.org
Tue Nov 6 21:02:33 UTC 2012


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

Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Oct 17 13:24:37 2012 -0700

glapi: Use GL_ or GLX_ prefix for all category names.

This patch standardizes the category names used in the glapi XML files
to begin each extension name with the prefix "GL_" or "GLX_".  There
is no functional change, because these category names are not used in
the generated code.

Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/mapi/glapi/gen/es_EXT.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index 1fdb4d5..5f83726 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -768,7 +768,7 @@
 </category>
 
 <!-- 93. GL_NV_read_buffer -->
-<category name="NV_read_buffer">
+<category name="GL_NV_read_buffer">
     <function name="ReadBufferNV" alias="ReadBuffer" es2="2.0">
         <param name="mode" type="GLenum"/>
     </function>
@@ -783,7 +783,7 @@
 </category>
 
 <!-- 111. GL_ANGLE_texture_compression_dxt -->
-<category name="ANGLE_texture_compression_dxt" number="111">
+<category name="GL_ANGLE_texture_compression_dxt" number="111">
     <enum name="COMPRESSED_RGBA_S3TC_DXT3_ANGLE"        value="0x83F2"/>
     <enum name="COMPRESSED_RGBA_S3TC_DXT5_ANGLE"        value="0x83F3"/>
 </category>




More information about the mesa-commit mailing list