X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmapi%2Fglapi%2Fgen%2Fgl_API.dtd;h=b464250777c08c3807836f12655a2c4ba2feefc9;hb=0cb6537deecbbb5f330b5835de29f64e4faf61c4;hp=066d5da522d04cfeb335c714e4eb9741013ea134;hpb=e41d1a4e746775efa8c5f6bb72b8781417cb0ec0;p=mesa.git diff --git a/src/mapi/glapi/gen/gl_API.dtd b/src/mapi/glapi/gen/gl_API.dtd index 066d5da522d..b464250777c 100644 --- a/src/mapi/glapi/gen/gl_API.dtd +++ b/src/mapi/glapi/gen/gl_API.dtd @@ -33,15 +33,14 @@ value NMTOKEN #REQUIRED> + marshal NMTOKEN #IMPLIED + marshal_fail CDATA #IMPLIED> @@ -93,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. @@ -123,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