mode (get | set) "set">
<!ATTLIST param name NMTOKEN #REQUIRED
type CDATA #REQUIRED
+ client_only (true | false) "false"
count NMTOKEN #IMPLIED
counter (true | false) "false"
count_scale NMTOKEN "1"
param:
name - name of the parameter
type - fully qualified type (e.g., with "const", etc.)
+ client_only - boolean flag set on parameters which are interpreted only
+ by the client and are not present in the protocol encoding (e.g.,
+ the stride parameters to Map1f, etc.)
count - for counted arrays (e.g., the 'lists' parameter to glCallLists),
the parameter or literal that represents the count. For functions
like glVertex3fv it will be a litteral, for others it will be one of
<param name="target" type="GLenum"/>
<param name="u1" type="GLdouble"/>
<param name="u2" type="GLdouble"/>
- <param name="stride" type="GLint"/>
+ <param name="stride" type="GLint" client_only="true"/>
<param name="order" type="GLint"/>
- <param name="points" type="const GLdouble *"/>
+ <param name="points" type="const GLdouble *" variable_param="order"/>
<glx rop="143" handcode="true"/>
</function>
<param name="target" type="GLenum"/>
<param name="u1" type="GLfloat"/>
<param name="u2" type="GLfloat"/>
- <param name="stride" type="GLint"/>
+ <param name="stride" type="GLint" client_only="true"/>
<param name="order" type="GLint"/>
- <param name="points" type="const GLfloat *"/>
+ <param name="points" type="const GLfloat *" variable_param="order"/>
<glx rop="144" handcode="true"/>
</function>
<param name="target" type="GLenum"/>
<param name="u1" type="GLdouble"/>
<param name="u2" type="GLdouble"/>
- <param name="ustride" type="GLint"/>
+ <param name="ustride" type="GLint" client_only="true"/>
<param name="uorder" type="GLint"/>
<param name="v1" type="GLdouble"/>
<param name="v2" type="GLdouble"/>
- <param name="vstride" type="GLint"/>
+ <param name="vstride" type="GLint" client_only="true"/>
<param name="vorder" type="GLint"/>
- <param name="points" type="const GLdouble *"/>
+ <param name="points" type="const GLdouble *" variable_param="uorder"/>
<glx rop="145" handcode="true"/>
</function>
<param name="target" type="GLenum"/>
<param name="u1" type="GLfloat"/>
<param name="u2" type="GLfloat"/>
- <param name="ustride" type="GLint"/>
+ <param name="ustride" type="GLint" client_only="true"/>
<param name="uorder" type="GLint"/>
<param name="v1" type="GLfloat"/>
<param name="v2" type="GLfloat"/>
- <param name="vstride" type="GLint"/>
+ <param name="vstride" type="GLint" client_only="true"/>
<param name="vorder" type="GLint"/>
- <param name="points" type="const GLfloat *"/>
+ <param name="points" type="const GLfloat *" variable_param="uorder"/>
<glx rop="146" handcode="true"/>
</function>
#if ts == "GLdouble":
# print '/* stack size -> %s = %u (after) */' % (self.name, self.type_expr.get_stack_size())
- self.is_counter = is_attr_true( element, 'counter' )
- self.is_output = is_attr_true( element, 'output' )
+ self.is_client_only = is_attr_true( element, 'client_only' )
+ self.is_counter = is_attr_true( element, 'counter' )
+ self.is_output = is_attr_true( element, 'output' )
# Pixel data has special parameters.