Convert 'variable_param' from a CDATA attribute to a NMTOKENS attribute.
authorIan Romanick <idr@us.ibm.com>
Thu, 14 Apr 2005 23:03:44 +0000 (23:03 +0000)
committerIan Romanick <idr@us.ibm.com>
Thu, 14 Apr 2005 23:03:44 +0000 (23:03 +0000)
The main difference is that white-space is used to separate the names
instead of comas.

src/mesa/glapi/gl_API.xml
src/mesa/glapi/gl_XML.py

index baca5a43521b29f3c33aa4a78eed8866fb714667..e583c39e38932c46181bfab97a7c06ca6d707fd2 100644 (file)
@@ -45,7 +45,7 @@
                    img_send_null       (true | false) "false"
                    img_null_flag       (true | false) "false"
                    img_pad_dimensions  (true | false) "false"
-                   variable_param      CDATA   #IMPLIED>
+                   variable_param      NMTOKENS #IMPLIED>
 <!ATTLIST return   type                CDATA   "void">
 <!ATTLIST glx      rop                 NMTOKEN #IMPLIED
                    sop                 NMTOKEN #IMPLIED
@@ -2801,21 +2801,21 @@ glx:
     <function name="GetMapdv" offset="266">
         <param name="target" type="GLenum"/>
         <param name="query" type="GLenum"/>
-        <param name="v" type="GLdouble *" output="true" variable_param="target, query"/>
+        <param name="v" type="GLdouble *" output="true" variable_param="target query"/>
         <glx sop="120"/>
     </function>
 
     <function name="GetMapfv" offset="267">
         <param name="target" type="GLenum"/>
         <param name="query" type="GLenum"/>
-        <param name="v" type="GLfloat *" output="true" variable_param="target, query"/>
+        <param name="v" type="GLfloat *" output="true" variable_param="target query"/>
         <glx sop="121"/>
     </function>
 
     <function name="GetMapiv" offset="268">
         <param name="target" type="GLenum"/>
         <param name="query" type="GLenum"/>
-        <param name="v" type="GLint *" output="true" variable_param="target, query"/>
+        <param name="v" type="GLint *" output="true" variable_param="target query"/>
         <glx sop="122"/>
     </function>
 
index 8b7b400d9a4d30d7c29da9b1f82d3f2b65f51adc..bb6ec2b54ad81897f4ce8e64221a7df2a811f5b6 100644 (file)
@@ -171,7 +171,7 @@ class glParameter( glItem ):
 
                temp = attrs.get('variable_param', None)
                if temp:
-                       self.count_parameter_list = temp.replace( ' ', '' ).split( ',' )
+                       self.count_parameter_list = temp.split( ' ' )
                else:
                        self.count_parameter_list = []