dri2: Add notes on lists that should be linked to their length fields but are not.
[free-sw/xcb/proto] / src / dri2.xml
index 0160c6b..3b4c12e 100644 (file)
@@ -98,7 +98,7 @@ authorization from the authors.
              <op op="&amp;">
                  <op op="+">
                      <fieldref>driver_name_length</fieldref>
-                     <value> 3 </value>
+                     <value>3</value>
                  </op>
                  <unop op="~">
                      <value>3</value>
@@ -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" />