[Xcb] To do
Josh Triplett
josh at freedesktop.org
Thu Feb 3 10:59:10 PST 2005
Josh Triplett wrote:
> For the GLX_RENDER_COMMAND structure, you want:
>
> <struct name="GLX_RENDER_COMMAND">
> <field type="CARD16" name="length" />
> <field type="CARD16" name="opcode" />
> <list type="BYTE" name="data">
> <op op="-">
> <fieldref>length</fieldref>
> <value>4</value>
> </op>
> </list>
> </struct>
This is the correct solution.
> You could alternatively express the list as CARD16s (which the spec
> seems to), and use (length-4)/2 as the length expression.
Ignore this; misread the spec.
- Josh Triplett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20050203/70baf6bb/signature.pgp
More information about the xcb
mailing list