X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmapi%2Fglapi%2Fgen%2Fgl_API.dtd;h=b464250777c08c3807836f12655a2c4ba2feefc9;hb=01da2feb0edd36abb161d96ccd6020c4b358da91;hp=bdc62f1c835abaaf29accfba1a84f0df4a569985;hpb=6ee082718fca884fbda73001e0ecb32095409549;p=mesa.git diff --git a/src/mapi/glapi/gen/gl_API.dtd b/src/mapi/glapi/gen/gl_API.dtd index bdc62f1c835..b464250777c 100644 --- a/src/mapi/glapi/gen/gl_API.dtd +++ b/src/mapi/glapi/gen/gl_API.dtd @@ -38,7 +38,9 @@ es2 CDATA "none" deprecated CDATA "none" exec NMTOKEN #IMPLIED - desktop (true | false) "true"> + desktop (true | false) "true" + marshal NMTOKEN #IMPLIED + marshal_fail CDATA #IMPLIED> @@ -90,7 +92,7 @@ param: 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 + like glVertex3fv it will be a literal, for others it will be one of the parameters. counter - this parameter is a counter that will be referenced by the 'count' attribute in another parameter. @@ -120,6 +122,18 @@ param: offset data should be padded to the next even number of dimensions. For example, this will insert an empty "height" field after the "width" field in the protocol for TexImage1D. + marshal - One of "sync", "async", "draw", or "custom", defaulting to + async unless one of the arguments is something we know we can't + codegen for. If "sync", we finish any queued glthread work and call + the Mesa implementation directly. If "async", we queue the function + call to be performed by glthread. If "custom", the prototype will be + generated but a custom implementation will be present in marshal.c. + If "draw", it will follow the "async" rules except that "indices" are + ignored (since they may come from a VBO). + marshal_fail - an expression that, if it evaluates true, causes glthread + to switch back to the Mesa implementation and call it directly. Used + to disable glthread for GL compatibility interactions that we don't + want to track state for. glx: rop - Opcode value for "render" commands