diff options
author | marha <marha@users.sourceforge.net> | 2015-02-22 21:39:56 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2015-02-22 21:39:56 +0100 |
commit | 462f18c7b25fe3e467f837647d07ab0a78aa8d2b (patch) | |
tree | fc8013c0a1bac05a1945846c1697e973f4c35013 /libxcb/xcb-proto/src/render.xml | |
parent | 36f711ee12b6dd5184198abed3aa551efb585587 (diff) | |
download | vcxsrv-462f18c7b25fe3e467f837647d07ab0a78aa8d2b.tar.gz vcxsrv-462f18c7b25fe3e467f837647d07ab0a78aa8d2b.tar.bz2 vcxsrv-462f18c7b25fe3e467f837647d07ab0a78aa8d2b.zip |
Merged origin/release (checked in because wanted to merge new stuff)
Diffstat (limited to 'libxcb/xcb-proto/src/render.xml')
-rw-r--r-- | libxcb/xcb-proto/src/render.xml | 118 |
1 files changed, 112 insertions, 6 deletions
diff --git a/libxcb/xcb-proto/src/render.xml b/libxcb/xcb-proto/src/render.xml index 55b73f7b8..c54608e72 100644 --- a/libxcb/xcb-proto/src/render.xml +++ b/libxcb/xcb-proto/src/render.xml @@ -280,16 +280,122 @@ for licensing information. <field type="PICTURE" name="pid" /> <field type="DRAWABLE" name="drawable" /> <field type="PICTFORMAT" name="format" /> - <valueparam value-mask-type="CARD32" - value-mask-name="value_mask" - value-list-name="value_list" /> + <field type="CARD32" name="value_mask" mask="CP"/> + <switch name="value_list"> + <fieldref>value_mask</fieldref> + <bitcase> + <enumref ref="CP">Repeat</enumref> + <field type="CARD32" name="repeat" enum="Repeat"/> + </bitcase> + <bitcase> + <enumref ref="CP">AlphaMap</enumref> + <field type="PICTURE" name="alphamap" /> + </bitcase> + <bitcase> + <enumref ref="CP">AlphaXOrigin</enumref> + <field type="INT32" name="alphaxorigin" /> + </bitcase> + <bitcase> + <enumref ref="CP">AlphaYOrigin</enumref> + <field type="INT32" name="alphayorigin" /> + </bitcase> + <bitcase> + <enumref ref="CP">ClipXOrigin</enumref> + <field type="INT32" name="clipxorigin" /> + </bitcase> + <bitcase> + <enumref ref="CP">ClipYOrigin</enumref> + <field type="INT32" name="clipyorigin" /> + </bitcase> + <bitcase> + <enumref ref="CP">ClipMask</enumref> + <field type="PIXMAP" name="clipmask" /> + </bitcase> + <bitcase> + <enumref ref="CP">GraphicsExposure</enumref> + <field type="CARD32" name="graphicsexposure" /> + </bitcase> + <bitcase> + <enumref ref="CP">SubwindowMode</enumref> + <field type="CARD32" name="subwindowmode" enum="SubwindowMode"/> + </bitcase> + <bitcase> + <enumref ref="CP">PolyEdge</enumref> + <field type="CARD32" name="polyedge" enum="PolyEdge"/> + </bitcase> + <bitcase> + <enumref ref="CP">PolyMode</enumref> + <field type="CARD32" name="polymode" enum="PolyMode"/> + </bitcase> + <bitcase> + <enumref ref="CP">Dither</enumref> + <field type="ATOM" name="dither" /> + </bitcase> + <bitcase> + <enumref ref="CP">ComponentAlpha</enumref> + <field type="CARD32" name="componentalpha" /> + </bitcase> + </switch> </request> <request name="ChangePicture" opcode="5"> <field type="PICTURE" name="picture" /> - <valueparam value-mask-type="CARD32" - value-mask-name="value_mask" - value-list-name="value_list" /> + <field type="CARD32" name="value_mask" mask="CP"/> + <switch name="value_list"> + <fieldref>value_mask</fieldref> + <bitcase> + <enumref ref="CP">Repeat</enumref> + <field type="CARD32" name="repeat" enum="Repeat"/> + </bitcase> + <bitcase> + <enumref ref="CP">AlphaMap</enumref> + <field type="PICTURE" name="alphamap" /> + </bitcase> + <bitcase> + <enumref ref="CP">AlphaXOrigin</enumref> + <field type="INT32" name="alphaxorigin" /> + </bitcase> + <bitcase> + <enumref ref="CP">AlphaYOrigin</enumref> + <field type="INT32" name="alphayorigin" /> + </bitcase> + <bitcase> + <enumref ref="CP">ClipXOrigin</enumref> + <field type="INT32" name="clipxorigin" /> + </bitcase> + <bitcase> + <enumref ref="CP">ClipYOrigin</enumref> + <field type="INT32" name="clipyorigin" /> + </bitcase> + <bitcase> + <enumref ref="CP">ClipMask</enumref> + <field type="PIXMAP" name="clipmask" /> + </bitcase> + <bitcase> + <enumref ref="CP">GraphicsExposure</enumref> + <field type="CARD32" name="graphicsexposure" /> + </bitcase> + <bitcase> + <enumref ref="CP">SubwindowMode</enumref> + <field type="CARD32" name="subwindowmode" enum="SubwindowMode"/> + </bitcase> + <bitcase> + <enumref ref="CP">PolyEdge</enumref> + <field type="CARD32" name="polyedge" enum="PolyEdge"/> + </bitcase> + <bitcase> + <enumref ref="CP">PolyMode</enumref> + <field type="CARD32" name="polymode" enum="PolyMode"/> + </bitcase> + <bitcase> + <enumref ref="CP">Dither</enumref> + <field type="ATOM" name="dither" /> + </bitcase> + <bitcase> + <enumref ref="CP">ComponentAlpha</enumref> + <field type="CARD32" name="componentalpha" /> + </bitcase> + </switch> </request> <request name="SetPictureClipRectangles" opcode="6"> |