From a285acbbef997d223de819e960d55724f52757d4 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 7 Jan 2005 03:22:56 +0000 Subject: Track the GLX protocol names for GL types. --- src/mesa/glapi/gl_API.xml | 31 ++++++++++++++++--------------- src/mesa/glapi/gl_XML.py | 1 + 2 files changed, 17 insertions(+), 15 deletions(-) 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) -- cgit v1.2.3