[Xcb-commit] xcb-proto/src/extensions xv.xml,1.6,1.7

Jeremy Kolb xcb-commit at lists.freedesktop.org
Sat Dec 17 11:37:27 PST 2005


Update of /cvs/xcb/xcb-proto/src/extensions
In directory gabe:/tmp/cvs-serv2024

Modified Files:
	xv.xml 
Log Message:
Fixed some padding issues and BYTE -> char for names.


Index: xv.xml
===================================================================
RCS file: /cvs/xcb/xcb-proto/src/extensions/xv.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- xv.xml	17 Dec 2005 00:04:57 -0000	1.6
+++ xv.xml	17 Dec 2005 19:37:25 -0000	1.7
@@ -49,7 +49,6 @@
         <item name="Settable"><value>0x02</value></item>
     </enum>
     
-    <!-- Types/Structs (double check these) -->
     <struct name="Rational">
         <field type="INT32" name="numerator" />
         <field type="INT32" name="denominator" />
@@ -62,7 +61,7 @@
         <field type="CARD16" name="num_formats" />
         <field type="CARD8" name="type" />
         <field type="CARD8" name="pad" />
-        <list type="CARD8" name="name">
+        <list type="char" name="name">
             <fieldref>name_size</fieldref>
         </list>
         <list type="Format" name="formats">
@@ -78,6 +77,9 @@
         <field type="CARD16" name="height" />
         <field type="Rational" name="rate" />
         <field type="CARD16" name="pad" />
+        <list type="char" name="name">
+            <fieldref>name_size</fieldref>
+        </list>
     </struct>
 
     <struct name="Format">
@@ -103,7 +105,7 @@
         <field type="INT32" name="min" />
         <field type="INT32" name="max" />
         <field type="CARD32" name="size" />
-        <list type="CARD8" name="name">
+        <list type="char" name="name">
             <fieldref>size</fieldref>
         </list>
     </struct>
@@ -172,8 +174,6 @@
     
     <!-- Requests -->
     <request name="QueryExtension" opcode="0">
-        <!--<field type="CARD16" name="major" />
-        <field type="CARD16" name="minor" />-->
         <reply>
             <pad bytes="1" />
             <field type="CARD16" name="major" />
@@ -198,7 +198,7 @@
         <reply>
             <pad bytes="1" />
             <field type="CARD16" name="num_encodings" />
-            <pad bytes="48" />
+            <pad bytes="24" />
             <list type="EncodingInfo" name="info">
                 <fieldref>num_encodings</fieldref>
             </list>



More information about the xcb-commit mailing list