summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2014-05-30 09:37:14 +0200
committerPeter Harris <pharris@opentext.com>2014-06-10 13:53:16 -0400
commit0797e4d51023cff3fe7f1d7acbd0b85efc379a31 (patch)
tree4d9e0d2b13df10b520141f13239a75063c4b7d5c
parent389889e2f95af19e7fc7ac89e7faeb2f28652415 (diff)
downloadxcb-proto-0797e4d51023cff3fe7f1d7acbd0b85efc379a31.tar.gz
dri2: Add notes on lists that should be linked to their length fields but are not.
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
-rw-r--r--src/dri2.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/dri2.xml b/src/dri2.xml
index 20d6649..3b4c12e 100644
--- a/src/dri2.xml
+++ b/src/dri2.xml
@@ -133,7 +133,10 @@ 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">
+ <!-- The length field should be linked but we can't correct it without breaking API -->
+ <!-- <fieldref>count</fieldref> -->
+ </list>
<reply>
<pad bytes="1" />
<field type="CARD32" name="width" />
@@ -159,7 +162,10 @@ 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">
+ <!-- The length field should be linked but we can't correct it without breaking API -->
+ <!-- <fieldref>count</fieldref> -->
+ </list>
<reply>
<pad bytes="1" />
<field type="CARD32" name="width" />