From: Ian Romanick Date: Fri, 7 Jan 2005 03:22:56 +0000 (+0000) Subject: Track the GLX protocol names for GL types. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a285acbbef997d223de819e960d55724f52757d4;p=mesa.git Track the GLX protocol names for GL types. --- diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml index b594ca37632..662f20afb9d 100644 --- a/src/mesa/glapi/gl_API.xml +++ b/src/mesa/glapi/gl_API.xml @@ -12,7 +12,8 @@ + size CDATA #REQUIRED + glx_name CDATA #IMPLIED> - - + + - - + + - - - - - + + + + + - - + + - - - + + + diff --git a/src/mesa/glapi/gl_XML.py b/src/mesa/glapi/gl_XML.py index f984d5f87fb..538756ea0c2 100644 --- a/src/mesa/glapi/gl_XML.py +++ b/src/mesa/glapi/gl_XML.py @@ -105,6 +105,7 @@ class glType( glItem ): def __init__(self, context, name, attrs): self.size = int(attrs.get('size', "0")) + self.glx_name = attrs.get('glx_name', "") type_name = "GL" + attrs.get('name', None) glItem.__init__(self, name, type_name, context)