[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    [PATCH] dri2proto: Fix fields in SwapBuffers
From:       Robert Ancell <robert.ancell () canonical ! com>
Date:       2014-05-25 0:25:55
Message-ID: 1400977555-5641-1-git-send-email-robert.ancell () canonical ! com
[Download RAW message or body]

Fix errors in SwapBuffers:
- The section in "8. Extension Requests" was missing the target_msc, divisor and remainder fields
- The section in "A.2 Protocol Requests" had two entries for SwapBuffers, both incorrect
---
 dri2proto.txt | 30 ++++++------------------------
 1 file changed, 6 insertions(+), 24 deletions(-)

diff --git a/dri2proto.txt b/dri2proto.txt
index 9921301..d81b55c 100644
--- a/dri2proto.txt
+++ b/dri2proto.txt
@@ -327,8 +327,11 @@ The name of this extension is "DRI2".
 ┌───
     DRI2SwapBuffers
 	drawable: DRAWABLE
-      ▶	
-	count: two CARD32s
+	target_msc: two CARD32s
+	divisor: two CARD32s
+	remainder: two CARD32s
+      ▶
+	swap: two CARD32s
 └───
 	Errors: Window
 
@@ -750,27 +753,6 @@ A.2 Protocol Requests
 	1	8			DRI2 opcode
 	2	8			length
 	4	DRAWABLE		drawable
-      ▶	
-	1	1			Reply
-        1				unused
-	2	CARD16			sequence number
-	4	0			reply length
-	4	CARD32			buffer count
-	4	CARD32			unused
-	4	CARD32			unused
-	4	CARD32			unused
-	4	CARD32			unused
-	4	CARD32			unused
-	4	CARD32			unused
-	5n	LISTofDRI2BUFFER	buffers
-└───
-
-┌───
-    DRI2SwapBuffers
-	1	CARD8			major opcode
-	1	8			DRI2 opcode
-	2	8			length
-	4	DRAWABLE		drawable
 	4	CARD32			target_msc_hi
 	4	CARD32			target_msc_lo
 	4	CARD32			divisor_hi
@@ -784,7 +766,7 @@ A.2 Protocol Requests
 	4	0			reply length
 	4	CARD32			swap_hi
 	4	CARD32			swap_lo
-	5n	LISTofDRI2BUFFER	buffers
+	20				unused
 └───
 
 ┌───
-- 
2.0.0.rc0

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic