[Xcb] [PATCH] dri2: Mark list length field in GetBuffers request so generated code doesn't ask for length field twice
Robert Ancell
robert.ancell at canonical.com
Sat May 24 16:50:56 PDT 2014
---
src/dri2.xml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/dri2.xml b/src/dri2.xml
index 20d6649..9f0b281 100644
--- a/src/dri2.xml
+++ b/src/dri2.xml
@@ -133,7 +133,9 @@ authorization from the authors.
<request name="GetBuffers" opcode="5">
<field type="DRAWABLE" name="drawable" />
<field type="CARD32" name="count" />
- <list type="CARD32" name="attachments" />
+ <list type="CARD32" name="attachments">
+ <fieldref>count</fieldref>
+ </list>
<reply>
<pad bytes="1" />
<field type="CARD32" name="width" />
@@ -159,7 +161,9 @@ authorization from the authors.
<request name="GetBuffersWithFormat" opcode="7">
<field type="DRAWABLE" name="drawable" />
<field type="CARD32" name="count" />
- <list type="AttachFormat" name="attachments" />
+ <list type="AttachFormat" name="attachments">
+ <fieldref>count</fieldref>
+ </list>
<reply>
<pad bytes="1" />
<field type="CARD32" name="width" />
--
2.0.0.rc0
More information about the Xcb
mailing list