xf86dri: fix GetDrawableInfo reply
[free-sw/xcb/proto] / src / glx.xml
index ae5c0ac..544b543 100644 (file)
@@ -92,6 +92,7 @@ The patch that fixed this server bug in X.org CVS is here:
 
        <!-- Events -->
        <event name="PbufferClobber" number="0">
+               <pad bytes="1" />
                <field type="CARD16" name="event_type" />
                <field type="CARD16" name="draw_type" />
                <field type="glx:DRAWABLE" name="drawable" />
@@ -108,19 +109,19 @@ The patch that fixed this server bug in X.org CVS is here:
        <!-- enums for PbufferClobber event/draw type -->
        <enum name="PBCET">
                <item name="Damaged">
-                       <value>0x8017</value>
+                       <value>32791</value>
                </item>
                <item name="Saved">
-                       <value>0x8018</value>
+                       <value>32792</value>
                </item>
        </enum>
 
        <enum name="PBCDT">
                <item name="Window">
-                       <value>0x8019</value>
+                       <value>32793</value>
                </item>
                <item name="Pbuffer">
-                       <value>0x801A</value>
+                       <value>32794</value>
                </item>
        </enum>
 
@@ -221,7 +222,7 @@ The patch that fixed this server bug in X.org CVS is here:
                <item name="GL_LIST_BIT"><bit>17</bit></item>
                <item name="GL_TEXTURE_BIT"><bit>18</bit></item>
                <item name="GL_SCISSOR_BIT"><bit>19</bit></item>
-               <item name="GL_ALL_ATTRIB_BITS"><value>0x000ffffff</value></item>
+               <item name="GL_ALL_ATTRIB_BITS"><value>16777215<!--0x000ffffff--></value></item>
        </enum>
 
        <request name="SwapBuffers" opcode="11">
@@ -252,7 +253,9 @@ The patch that fixed this server bug in X.org CVS is here:
                        <field type="CARD32" name="num_visuals" />
                        <field type="CARD32" name="num_properties" />
                         <pad bytes="16" />
-                        <list type="CARD32" name="property_list" />
+                       <list type="CARD32" name="property_list">
+                               <fieldref>length</fieldref>
+                       </list>
                </reply>
        </request>
 
@@ -281,7 +284,12 @@ The patch that fixed this server bug in X.org CVS is here:
                        <list type="BYTE" name="data1">
                                <value>24</value>
                        </list>
-                       <list type="BYTE" name="data2" />
+                       <list type="BYTE" name="data2">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
 
@@ -303,7 +311,7 @@ The patch that fixed this server bug in X.org CVS is here:
                        <pad bytes="4" />
                        <field type="CARD32" name="str_len" />
                        <pad bytes="16" />
-                       <list type="CARD8" name="string">
+                       <list type="char" name="string">
                                <fieldref>str_len</fieldref>
                        </list>
                </reply>
@@ -313,7 +321,7 @@ The patch that fixed this server bug in X.org CVS is here:
                <field type="CARD32" name="major_version" />
                <field type="CARD32" name="minor_version" />
                <field type="CARD32" name="str_len" />
-               <list type="CARD8" name="string">
+               <list type="char" name="string">
                        <fieldref>str_len</fieldref>
                </list>
        </request>
@@ -332,7 +340,9 @@ The patch that fixed this server bug in X.org CVS is here:
                                value-mask-name="value_mask"
                                 value-list-name="value_list" />
                             -->
-                        <list type="CARD32" name="property_list" />
+                        <list type="CARD32" name="property_list">
+                               <fieldref>length</fieldref>
+                       </list>
                </reply>
        </request>
 
@@ -515,9 +525,9 @@ The patch that fixed this server bug in X.org CVS is here:
        </request>
 
        <enum name="RM">
-               <item name="GL_RENDER"><value>0x1C00</value></item>
-               <item name="GL_FEEDBACK"><value>0x1C01</value></item>
-               <item name="GL_SELECT"><value>0x1C02</value></item>
+               <item name="GL_RENDER"><value>7168</value></item>
+               <item name="GL_FEEDBACK"><value>7169</value></item>
+               <item name="GL_SELECT"><value>7170</value></item>
        </enum>
 
        <request name="Finish" opcode="108">
@@ -552,7 +562,12 @@ The patch that fixed this server bug in X.org CVS is here:
                <reply>
                        <pad bytes="1" />
                        <pad bytes="24" />
-                       <list type="BYTE" name="data" />
+                       <list type="BYTE" name="data">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
                
@@ -583,7 +598,12 @@ The patch that fixed this server bug in X.org CVS is here:
                <reply>
                        <pad bytes="1" />
                        <pad bytes="24" />
-                       <list type="FLOAT64" name="data" />
+                       <list type="FLOAT64" name="data">
+                               <op op="/">
+                                       <fieldref>length</fieldref>
+                                       <value>2</value>
+                               </op>
+                       </list>
                </reply>
        </request>
 
@@ -803,7 +823,12 @@ The patch that fixed this server bug in X.org CVS is here:
                <reply>
                        <pad bytes="1" />
                        <pad bytes="24" />
-                       <list type="BYTE" name="data" />
+                       <list type="BYTE" name="data">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
 
@@ -816,7 +841,7 @@ The patch that fixed this server bug in X.org CVS is here:
                        <pad bytes="4" />
                        <field type="CARD32" name="n" />
                        <pad bytes="16" />
-                       <list type="CARD8" name="string">
+                       <list type="char" name="string">
                                <fieldref>n</fieldref>
                        </list>
                </reply>
@@ -916,7 +941,12 @@ The patch that fixed this server bug in X.org CVS is here:
                        <field type="INT32" name="height" />
                        <field type="INT32" name="depth" />
                        <pad bytes="4" />
-                       <list type="BYTE" name="data" />
+                       <list type="BYTE" name="data">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
            
@@ -1010,7 +1040,12 @@ The patch that fixed this server bug in X.org CVS is here:
                        <pad bytes="1" />
                        <field type="BOOL32" name="ret_val" />
                        <pad bytes="20" />
-                       <list type="BOOL" name="data" />
+                       <list type="BOOL" name="data">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
 
@@ -1028,7 +1063,9 @@ The patch that fixed this server bug in X.org CVS is here:
                <reply>
                        <pad bytes="1" />
                        <pad bytes="24" />
-                       <list type="CARD32" name="data" />
+                       <list type="CARD32" name="data">
+                               <fieldref>length</fieldref>
+                       </list>
                </reply>
        </request>
 
@@ -1052,7 +1089,12 @@ The patch that fixed this server bug in X.org CVS is here:
                        <pad bytes="8" />
                        <field type="INT32" name="width" />
                        <pad bytes="12" />
-                       <list type="BYTE" name="data" />
+                       <list type="BYTE" name="data">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
        
@@ -1100,7 +1142,12 @@ The patch that fixed this server bug in X.org CVS is here:
                        <field type="INT32" name="width" />
                        <field type="INT32" name="height" />
                        <pad bytes="8" />
-                       <list type="BYTE" name="data" />
+                       <list type="BYTE" name="data">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
 
@@ -1149,7 +1196,12 @@ The patch that fixed this server bug in X.org CVS is here:
                        <field type="INT32" name="row_w" />
                        <field type="INT32" name="col_h" />
                        <pad bytes="8" />
-                       <list type="BYTE" name="rows_and_cols" />
+                       <list type="BYTE" name="rows_and_cols">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
 
@@ -1165,7 +1217,12 @@ The patch that fixed this server bug in X.org CVS is here:
                        <pad bytes="8" />
                        <field type="INT32" name="width" />
                        <pad bytes="12" />
-                       <list type="BYTE" name="data" />
+                       <list type="BYTE" name="data">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
 
@@ -1212,7 +1269,12 @@ The patch that fixed this server bug in X.org CVS is here:
                <reply>
                        <pad bytes="1" />
                        <pad bytes="24" />
-                       <list type="BYTE" name="data" />
+                       <list type="BYTE" name="data">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
 
@@ -1268,7 +1330,12 @@ The patch that fixed this server bug in X.org CVS is here:
                        <pad bytes="8" />
                        <field type="INT32" name="size" />
                        <pad bytes="12" />
-                       <list type="BYTE" name="data" />
+                       <list type="BYTE" name="data">
+                               <op op="*">
+                                       <fieldref>length</fieldref>
+                                       <value>4</value>
+                               </op>
+                       </list>
                </reply>
        </request>
 
@@ -1292,7 +1359,9 @@ The patch that fixed this server bug in X.org CVS is here:
                <reply>
                        <pad bytes="1" />
                        <pad bytes="24" />
-                       <list type="CARD32" name="data" />
+                       <list type="CARD32" name="data">
+                               <fieldref>length</fieldref>
+                       </list>
                </reply>
        </request>