glapi: Annotate XML with exec="skip" for unimplemented functions.

Future patches will use this annotation when code generating
_mesa_create_exec_table(), to determine which functions should be
skipped because they aren't implemented by Mesa.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Paul Berry 2012-10-18 20:53:11 -07:00
parent 89a577080f
commit 3464bce419
6 changed files with 310 additions and 273 deletions

View file

@ -45,7 +45,7 @@
<param name="level" type="GLint"/>
<param name="layer" type="GLint"/>
</function>
<function name="FramebufferTextureFaceARB" offset="assign">
<function name="FramebufferTextureFaceARB" exec="skip" offset="assign">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="texture" type="GLuint"/>

View file

@ -11,7 +11,8 @@
<enum name="NUM_PROGRAM_BINARY_FORMATS" value="0x87FE"/>
<enum name="PROGRAM_BINARY_FORMATS" value="0x87FF"/>
<function name="GetProgramBinary" offset="assign" static_dispatch="false" es2="3.0">
<function name="GetProgramBinary" offset="assign" static_dispatch="false"
es2="3.0" exec="skip">
<param name="program" type="GLuint"/>
<param name="bufSize" type="GLsizei"/>
<param name="length" type="GLsizei *"/>
@ -19,14 +20,16 @@
<param name="binary" type="GLvoid *"/>
</function>
<function name="ProgramBinary" offset="assign" static_dispatch="false" es2="3.0">
<function name="ProgramBinary" offset="assign" static_dispatch="false"
es2="3.0" exec="skip">
<param name="program" type="GLuint"/>
<param name="binaryFormat" type="GLenum"/>
<param name="binary" type="const GLvoid *"/>
<param name="length" type="GLsizei"/>
</function>
<function name="ProgramParameteri" offset="assign" static_dispatch="false" es2="3.0">
<function name="ProgramParameteri" offset="assign" static_dispatch="false"
es2="3.0" exec="skip">
<param name="program" type="GLuint"/>
<param name="pname" type="GLenum"/>
<param name="value" type="GLint"/>

View file

@ -594,19 +594,20 @@
<enum name="MAX_FRAGMENT_INPUT_COMPONENTS" value="0x9125"/>
<enum name="CONTEXT_PROFILE_MASK" value="0x9126"/>
<function name="GetInteger64i_v" offset="assign" es2="3.0">
<function name="GetInteger64i_v" offset="assign" es2="3.0" exec="skip">
<param name="cap" type="GLenum"/>
<param name="index" type="GLuint"/>
<param name="data" type="GLint64 *"/>
</function>
<function name="GetBufferParameteri64v" offset="assign" es2="3.0">
<function name="GetBufferParameteri64v" offset="assign" es2="3.0"
exec="skip">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLint64 *"/>
</function>
<function name="FramebufferTexture" offset="assign">
<function name="FramebufferTexture" offset="assign" exec="skip">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="texture" type="GLuint"/>

View file

@ -307,22 +307,26 @@
<enum name="WEIGHT_ARRAY_BUFFER_BINDING_OES" value="0x889E"/>
<enum name="MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES" value="0x8B9E"/>
<function name="CurrentPaletteMatrixOES" alias="CurrentPaletteMatrixARB" static_dispatch="false">
<function name="CurrentPaletteMatrixOES" alias="CurrentPaletteMatrixARB"
static_dispatch="false" exec="skip">
<param name="matrixpaletteindex" type="GLuint"/>
</function>
<!-- no offset -->
<function name="LoadPaletteFromModelViewMatrixOES" static_dispatch="false">
<function name="LoadPaletteFromModelViewMatrixOES" static_dispatch="false"
exec="skip">
</function>
<function name="MatrixIndexPointerOES" alias="MatrixIndexPointerARB" static_dispatch="false">
<function name="MatrixIndexPointerOES" alias="MatrixIndexPointerARB"
static_dispatch="false" exec="skip">
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
<param name="pointer" type="const GLvoid *"/>
</function>
<function name="WeightPointerOES" alias="WeightPointerARB" static_dispatch="false">
<function name="WeightPointerOES" alias="WeightPointerARB"
static_dispatch="false" exec="skip">
<param name="size" type="GLint"/>
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>

View file

@ -38,7 +38,8 @@
vectorequiv NMTOKEN #IMPLIED
es1 CDATA "none"
es2 CDATA "none"
deprecated CDATA "none">
deprecated CDATA "none"
exec NMTOKEN #IMPLIED>
<!ATTLIST size name NMTOKEN #REQUIRED
count NMTOKEN #IMPLIED
mode (get | set) "set">

File diff suppressed because it is too large Load diff