summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Guimond <patg@patg.homeunix.org>2006-11-08 17:29:43 -0500
committerJosh Triplett <josh@freedesktop.org>2006-11-21 21:46:13 -0800
commit015b2696afd0824590dd9952bd8ba61a9d5ab6e2 (patch)
tree21374b8277493d4c0e0a59043323ee0c6bd635b9
parent854d08c8242e8fbe7b5a000b75ec6845419806c4 (diff)
Changed valueparam arguments for attribute lists
For following request and replies, substitutes attribute list passing to a parameter list instead of valuemask/values Requests: - CreatePixmap - QueryContext - CreatePbuffer - ChangeDrawableAttributes - CreateWindow Reply: - GetDrawableAttributes
-rw-r--r--src/glx.xml51
1 files changed, 36 insertions, 15 deletions
diff --git a/src/glx.xml b/src/glx.xml
index 4f4a822..e7ec59e 100644
--- a/src/glx.xml
+++ b/src/glx.xml
@@ -342,6 +342,12 @@ The patch that fixed this server bug in X.org CVS is here:
<field type="xproto:PIXMAP" name="pixmap" />
<field type="glx:PIXMAP" name="glx_pixmap" />
<field type="CARD32" name="num_attribs" />
+ <list type="CARD32" name="attribs">
+ <op op="*">
+ <fieldref>num_attribs</fieldref>
+ <value>2</value>
+ </op>
+ </list>
</request>
<request name="DestroyPixmap" opcode="23">
@@ -365,9 +371,12 @@ The patch that fixed this server bug in X.org CVS is here:
<pad bytes="1" />
<field type="CARD32" name="num_attributes"/>
<pad bytes="20" />
- <valueparam value-mask-type="CARD32"
- value-mask-name="value_mask"
- value-list-name="value_list" />
+ <list type="CARD32" name="attribs">
+ <op op="*">
+ <fieldref>num_attributes</fieldref>
+ <value>2</value>
+ </op>
+ </list>
</reply>
</request>
@@ -388,9 +397,12 @@ The patch that fixed this server bug in X.org CVS is here:
<field type="FBCONFIG" name="fbconfig" />
<field type="PBUFFER" name="pbuffer" />
<field type="CARD32" name="num_attribs" />
- <valueparam value-mask-type="CARD32"
- value-mask-name="value_mask"
- value-list-name="value_list" />
+ <list type="CARD32" name="attribs">
+ <op op="*">
+ <fieldref>num_attribs</fieldref>
+ <value>2</value>
+ </op>
+ </list>
</request>
<request name="DestroyPbuffer" opcode="28">
@@ -403,18 +415,24 @@ The patch that fixed this server bug in X.org CVS is here:
<pad bytes="1" />
<field type="CARD32" name="num_attribs" />
<pad bytes="20" />
- <valueparam value-mask-type="CARD32"
- value-mask-name="value_mask"
- value-list-name="value_list" />
+ <list type="CARD32" name="attribs">
+ <op op="*">
+ <fieldref>num_attribs</fieldref>
+ <value>2</value>
+ </op>
+ </list>
</reply>
</request>
<request name="ChangeDrawableAttributes" opcode="30">
<field type="glx:DRAWABLE" name="drawable" />
<field type="CARD32" name="num_attribs" />
- <valueparam value-mask-type="CARD32"
- value-mask-name="value_mask"
- value-list-name="value_list" />
+ <list type="CARD32" name="attribs">
+ <op op="*">
+ <fieldref>num_attribs</fieldref>
+ <value>2</value>
+ </op>
+ </list>
</request>
<request name="CreateWindow" opcode="31">
@@ -423,9 +441,12 @@ The patch that fixed this server bug in X.org CVS is here:
<field type="xproto:WINDOW" name="window" />
<field type="glx:WINDOW" name="glx_window" />
<field type="CARD32" name="num_attribs" />
- <valueparam value-mask-type="CARD32"
- value-mask-name="value_mask"
- value-list-name="value_list" />
+ <list type="CARD32" name="attribs">
+ <op op="*">
+ <fieldref>num_attribs</fieldref>
+ <value>2</value>
+ </op>
+ </list>
</request>
<request name="DeleteWindow" opcode="32">