[Xcb-commit] 4 commits - src

Josh Triplett josh at kemper.freedesktop.org
Thu Nov 23 03:02:21 PST 2006


 src/glx.xml   |   59 +++++++++++++++++++++++++++++++++++++++-------------------
 src/randr.xml |   28 +++++++++++++--------------
 2 files changed, 54 insertions(+), 33 deletions(-)

New commits:
diff-tree 1df54ae21a42aa20538e3123a9c2d9f4d6c07c94 (from 186c79774257193307f92d2cf2008a18bcd68393)
Author: Vincent Torri <vtorri at univ-evry.fr>
Date:   Tue Nov 21 21:57:38 2006 -0800

    Bug #8990: randr type fixes

diff --git a/src/randr.xml b/src/randr.xml
index 515c320..8a46f3c 100644
--- a/src/randr.xml
+++ b/src/randr.xml
@@ -71,17 +71,17 @@ authorization from the authors.
 	BEWARE: the docs lie!
 	-->
 	<request name="SetScreenConfig" opcode="2">
-		<field type="WINDOW" name="drawable" />
-		<field type="CARD32" name="timestamp" />
-		<field type="CARD32" name="config_timestamp" />
+		<field type="DRAWABLE" name="drawable" />
+		<field type="TIMESTAMP" name="timestamp" />
+		<field type="TIMESTAMP" name="config_timestamp" />
 		<field type="CARD16" name="sizeID" />
 		<field type="INT16" name="rotation" />
-		<field type="CARD16" name="refresh" />
+		<field type="CARD16" name="rate" />
 		<pad bytes="2" />
 		<reply>
 			<field type="CARD8" name="status" />
-			<field type="CARD32" name="timestamp" />
-			<field type="CARD32" name="config_timestamp" />
+			<field type="TIMESTAMP" name="new_timestamp" />
+			<field type="TIMESTAMP" name="config_timestamp" />
 			<field type="WINDOW" name="root" />
 			<field type="CARD16" name="subpixel_order" />
 			<pad bytes="10" />
@@ -109,8 +109,8 @@ authorization from the authors.
 		<reply>
 			<field type="CARD8" name="rotations" />
 			<field type="WINDOW" name="root" />
-			<field type="CARD32" name="timestamp" />
-			<field type="CARD32" name="config_timestamp" />
+			<field type="TIMESTAMP" name="timestamp" />
+			<field type="TIMESTAMP" name="config_timestamp" />
 			<field type="CARD16" name="nSizes" />
 			<field type="CARD16" name="sizeID" />
 			<field type="INT16" name="rotation" />
@@ -135,16 +135,16 @@ authorization from the authors.
 	
 	<event name="ScreenChangeNotify" number="0">
 		<field type="CARD8" name="rotation" />
-		<field type="CARD32" name="timestamp" />
-		<field type="CARD32" name="config_timestamp" />
+		<field type="TIMESTAMP" name="timestamp" />
+		<field type="TIMESTAMP" name="config_timestamp" />
 		<field type="WINDOW" name="root" />
 		<field type="WINDOW" name="request_window" />
 		<field type="CARD16" name="sizeID" />
 		<field type="CARD16" name="subpixel_order" />
-		<field type="CARD16" name="width" />
-		<field type="CARD16" name="height" />
-		<field type="CARD16" name="mwidth" />
-		<field type="CARD16" name="mheight" />
+		<field type="INT16" name="width" />
+		<field type="INT16" name="height" />
+		<field type="INT16" name="mwidth" />
+		<field type="INT16" name="mheight" />
 	</event>
 		
 </xcb>
diff-tree 186c79774257193307f92d2cf2008a18bcd68393 (from a4681227e8a7d8622b3d6995b6700e18e91067c6)
Author: Patrick Guimond <patg at patg.homeunix.org>
Date:   Wed Nov 8 17:34:33 2006 -0500

    Estethic change for attribute parameter name
    
    Changed num_attributes parameter of QueryContext request to num_attribs
    for consistency with other requests

diff --git a/src/glx.xml b/src/glx.xml
index 6181408..feaffce 100644
--- a/src/glx.xml
+++ b/src/glx.xml
@@ -369,11 +369,11 @@ The patch that fixed this server bug in 
 		<field type="glx:CONTEXT" name="context" />
 		<reply>
 			<pad bytes="1" />
-			<field type="CARD32" name="num_attributes"/>
+			<field type="CARD32" name="num_attribs"/>
 			<pad bytes="20" />
 			<list type="CARD32" name="attribs">
 				<op op="*">
-					<fieldref>num_attributes</fieldref>
+					<fieldref>num_attribs</fieldref>
 					<value>2</value>
 				</op>
 			</list>
diff-tree a4681227e8a7d8622b3d6995b6700e18e91067c6 (from 015b2696afd0824590dd9952bd8ba61a9d5ab6e2)
Author: Patrick Guimond <patg at patg.homeunix.org>
Date:   Wed Nov 8 17:32:43 2006 -0500

    fixed screen parameter type in requests
    
    For the following requests, fixed the paramater type to be CARD32 instead
    of SCREEN structure
    
    Requests: - CreateNewContext
              - CreatePbuffer
              - CreateWindow

diff --git a/src/glx.xml b/src/glx.xml
index e7ec59e..6181408 100644
--- a/src/glx.xml
+++ b/src/glx.xml
@@ -357,7 +357,7 @@ The patch that fixed this server bug in 
 	<request name="CreateNewContext" opcode="24">
 		<field type="glx:CONTEXT" name="context" />
 		<field type="CARD32" name="fbconfig" />
-		<field type="SCREEN" name="screen" />
+		<field type="CARD32" name="screen" />
 		<field type="CARD32" name="render_type" />
 		<field type="CARD32" name="share_list" />
 		<field type="BOOL" name="is_direct" />
@@ -393,7 +393,7 @@ The patch that fixed this server bug in 
 	</request>
 
 	<request name="CreatePbuffer" opcode="27">
-		<field type="SCREEN" name="screen" />
+		<field type="CARD32" name="screen" />
 		<field type="FBCONFIG" name="fbconfig" />
 		<field type="PBUFFER" name="pbuffer" />
 		<field type="CARD32" name="num_attribs" />
@@ -436,7 +436,7 @@ The patch that fixed this server bug in 
 	</request>
 
 	<request name="CreateWindow" opcode="31">
-		<field type="SCREEN" name="screen" />
+		<field type="CARD32" name="screen" />
 		<field type="FBCONFIG" name="fbconfig" />
 		<field type="xproto:WINDOW" name="window" />
 		<field type="glx:WINDOW" name="glx_window" />
diff-tree 015b2696afd0824590dd9952bd8ba61a9d5ab6e2 (from 854d08c8242e8fbe7b5a000b75ec6845419806c4)
Author: Patrick Guimond <patg at patg.homeunix.org>
Date:   Wed Nov 8 17:29:43 2006 -0500

    Changed valueparam arguments for attribute lists
    
    For following request and replies, substitutes attribute list passing
    to a parameter list instead of valuemask/values
    
    Requests: - CreatePixmap
              - QueryContext
              - CreatePbuffer
              - ChangeDrawableAttributes
              - CreateWindow
    Reply:    - GetDrawableAttributes

diff --git a/src/glx.xml b/src/glx.xml
index 4f4a822..e7ec59e 100644
--- a/src/glx.xml
+++ b/src/glx.xml
@@ -342,6 +342,12 @@ The patch that fixed this server bug in 
 		<field type="xproto:PIXMAP" name="pixmap" />
 		<field type="glx:PIXMAP" name="glx_pixmap" />
 		<field type="CARD32" name="num_attribs" />  
+		<list type="CARD32" name="attribs">
+			<op op="*">
+				<fieldref>num_attribs</fieldref>
+				<value>2</value>
+			</op>
+		</list>
 	</request>
 
 	<request name="DestroyPixmap" opcode="23">
@@ -365,9 +371,12 @@ The patch that fixed this server bug in 
 			<pad bytes="1" />
 			<field type="CARD32" name="num_attributes"/>
 			<pad bytes="20" />
-			<valueparam value-mask-type="CARD32"
-				value-mask-name="value_mask"
-				value-list-name="value_list" />
+			<list type="CARD32" name="attribs">
+				<op op="*">
+					<fieldref>num_attributes</fieldref>
+					<value>2</value>
+				</op>
+			</list>
 		</reply>
 	</request>
 
@@ -388,9 +397,12 @@ The patch that fixed this server bug in 
 		<field type="FBCONFIG" name="fbconfig" />
 		<field type="PBUFFER" name="pbuffer" />
 		<field type="CARD32" name="num_attribs" />
-		<valueparam value-mask-type="CARD32"
-			value-mask-name="value_mask"
-			value-list-name="value_list" />
+		<list type="CARD32" name="attribs">
+			<op op="*">
+				<fieldref>num_attribs</fieldref>
+				<value>2</value>
+			</op>
+		</list>
 	</request>
 
 	<request name="DestroyPbuffer" opcode="28">
@@ -403,18 +415,24 @@ The patch that fixed this server bug in 
 			<pad bytes="1" />
 			<field type="CARD32" name="num_attribs" />
 			<pad bytes="20" />
-			<valueparam value-mask-type="CARD32"
-				value-mask-name="value_mask"
-				value-list-name="value_list" />
+			<list type="CARD32" name="attribs">
+				<op op="*">
+					<fieldref>num_attribs</fieldref>
+					<value>2</value>
+				</op>
+			</list>
 		</reply>
 	</request>
 
 	<request name="ChangeDrawableAttributes" opcode="30">
 		<field type="glx:DRAWABLE" name="drawable" />
 		<field type="CARD32" name="num_attribs" />
-		<valueparam value-mask-type="CARD32"
-			value-mask-name="value_mask"
-			value-list-name="value_list" />
+		<list type="CARD32" name="attribs">
+			<op op="*">
+				<fieldref>num_attribs</fieldref>
+				<value>2</value>
+			</op>
+		</list>
 	</request>
 
 	<request name="CreateWindow" opcode="31">
@@ -423,9 +441,12 @@ The patch that fixed this server bug in 
 		<field type="xproto:WINDOW" name="window" />
 		<field type="glx:WINDOW" name="glx_window" />
 		<field type="CARD32" name="num_attribs" />
-		<valueparam value-mask-type="CARD32"
-			value-mask-name="value_mask"
-			value-list-name="value_list" />
+		<list type="CARD32" name="attribs">
+			<op op="*">
+				<fieldref>num_attribs</fieldref>
+				<value>2</value>
+			</op>
+		</list>
 	</request>
 
 	<request name="DeleteWindow" opcode="32">


More information about the xcb-commit mailing list