diff options
author | Jeremy Kolb <jkolb@brandeis.edu> | 2005-12-17 00:04:57 +0000 |
---|---|---|
committer | Jeremy Kolb <jkolb@brandeis.edu> | 2005-12-17 00:04:57 +0000 |
commit | 90d63f4a86a7254a439423a97eeb4247eae8908a (patch) | |
tree | 68dd1811c70b9031c0c19d3d53efe0e5931c35f7 | |
parent | 4378513ba0f21fe7e67c75e285ce988253a6f09e (diff) |
Mountain of changes. Added some enums, fixed more structs and requests.
Almost works with xcbxvinfo (soon to be released).
Committing before I forget.
-rw-r--r-- | xcb-proto/src/extensions/xv.xml | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/xcb-proto/src/extensions/xv.xml b/xcb-proto/src/extensions/xv.xml index a5b9e7e..fcbcb17 100644 --- a/xcb-proto/src/extensions/xv.xml +++ b/xcb-proto/src/extensions/xv.xml @@ -35,7 +35,20 @@ authorization from the authors. <!-- XIDs --> <xidtype name="PORT" /> <xidtype name="ENCODING" /> - + + <enum name="Type"> + <item name="InputMask"><value>0x00000001</value></item> + <item name="OutputMask"><value>0x00000002</value></item> + <item name="VideoMask"><value>0x00000004</value></item> + <item name="StillMask"><value>0x00000008</value></item> + <item name="ImageMask"><value>0x00000010</value></item> + </enum> + + <enum name="AttributeFlag"> + <item name="Gettable"><value>0x01</value></item> + <item name="Settable"><value>0x02</value></item> + </enum> + <!-- Types/Structs (double check these) --> <struct name="Rational"> <field type="INT32" name="numerator" /> @@ -49,6 +62,13 @@ authorization from the authors. <field type="CARD16" name="num_formats" /> <field type="CARD8" name="type" /> <field type="CARD8" name="pad" /> + <list type="CARD8" name="name"> + <fieldref>name_size</fieldref> + </list> + <list type="Format" name="formats"> + <fieldref>num_formats</fieldref> + </list> + </struct> <struct name="EncodingInfo"> @@ -78,12 +98,14 @@ authorization from the authors. <!-- Some XPointer "obdata" --> </struct> - <!-- I think this goes with the "QueryPortAttributes" request. But it's not in the docs. --> <struct name="AttributeInfo"> <field type="CARD32" name="flags" /> <field type="INT32" name="min" /> <field type="INT32" name="max" /> <field type="CARD32" name="size" /> + <list type="CARD8" name="name"> + <fieldref>size</fieldref> + </list> </struct> <struct name="ImageFormatInfo"> @@ -164,7 +186,7 @@ authorization from the authors. <reply> <pad bytes="1" /> <field type="CARD16" name="num_adaptors" /> - <pad bytes="48" /> + <pad bytes="22" /> <list type="AdaptorInfo" name="info"> <fieldref>num_adaptors</fieldref> </list> @@ -290,7 +312,6 @@ authorization from the authors. <request name="GetPortAttribute" opcode="14"> <field type="PORT" name="port" /> <field type="ATOM" name="attribute" /> - <field type="INT32" name="value" /> <reply> <pad bytes="1" /> <field type="INT32" name="value" /> @@ -306,7 +327,9 @@ authorization from the authors. <field type="CARD32" name="num_attributes" /> <field type="CARD32" name="text_size" /> <pad bytes="16" /> - <list type="AttributeInfo" name="attributes" /> + <list type="AttributeInfo" name="attributes"> + <fieldref>num_attributes</fieldref> + </list> </reply> </request> |