[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: =?UTF-8?q?=5BPATCH=202/2=5D=20Attempt=20to=20make=20the=20protocol=20spec=20text=20reflect=20reality
From: Eric Anholt <eric () anholt ! net>
Date: 2011-04-26 17:39:56
Message-ID: 1303839596-1166-2-git-send-email-eric () anholt ! net
[Download RAW message or body]
This was done by comparing dri2proto.h to dri2proto.txt, with some
confirmation from looking at what the server was doing.
---
dri2proto.txt | 39 +++++++++------------------------------
1 files changed, 9 insertions(+), 30 deletions(-)
diff --git a/dri2proto.txt b/dri2proto.txt
index dc46e58..5fb7c74 100644
--- a/dri2proto.txt
+++ b/dri2proto.txt
@@ -654,7 +654,7 @@ A.2 Protocol Requests
┌───
DRI2GetBuffers
1 CARD8 major opcode
- 1 3 DRI2 opcode
+ 1 5 DRI2 opcode
2 3 length
4 DRAWABLE drawable
4 n number of attachments
@@ -674,7 +674,7 @@ A.2 Protocol Requests
┌───
DRI2CopyRegion
1 CARD8 major opcode
- 1 4 DRI2 opcode
+ 1 6 DRI2 opcode
2 3 length
4 DRAWABLE drawable
4 REGION region
@@ -691,7 +691,7 @@ A.2 Protocol Requests
┌───
DRI2GetBuffersWithFormat
1 CARD8 major opcode
- 1 3 DRI2 opcode
+ 1 7 DRI2 opcode
2 3 length
4 DRAWABLE drawable
4 n number of attachments
@@ -711,28 +711,7 @@ A.2 Protocol Requests
┌───
DRI2SwapBuffers
1 CARD8 major opcode
- 1 7 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 7 DRI2 opcode
+ 1 8 DRI2 opcode
2 8 length
4 DRAWABLE drawable
4 CARD32 target_msc_hi
@@ -748,13 +727,12 @@ A.2 Protocol Requests
4 0 reply length
4 CARD32 swap_hi
4 CARD32 swap_lo
- 5n LISTofDRI2BUFFER buffers
└───
┌───
DRI2GetMSC
1 CARD8 major opcode
- 1 7 DRI2 opcode
+ 1 9 DRI2 opcode
2 8 length
4 DRAWABLE drawable
▶
@@ -773,7 +751,7 @@ A.2 Protocol Requests
┌───
DRI2WaitMSC
1 CARD8 major opcode
- 1 7 DRI2 opcode
+ 1 10 DRI2 opcode
2 8 length
4 DRAWABLE drawable
4 CARD32 target_msc_hi
@@ -798,7 +776,7 @@ A.2 Protocol Requests
┌───
DRI2WaitSBC
1 CARD8 major opcode
- 1 7 DRI2 opcode
+ 1 11 DRI2 opcode
2 8 length
4 DRAWABLE drawable
4 CARD32 swap_hi
@@ -819,7 +797,7 @@ A.2 Protocol Requests
┌───
DRI2SwapInterval
1 CARD8 major opcode
- 1 7 DRI2 opcode
+ 1 12 DRI2 opcode
2 8 length
4 DRAWABLE drawable
4 CARD32 interval
@@ -837,6 +815,7 @@ DRI2_InvalidateBuffers events.
1 CARD8 extension
2 CARD16 sequenceNumber
2 CARD16 event_type
+ 2 CARD16 unused
4 DRAWABLE drawable
4 CARD32 ust_hi
4 CARD32 ust_lo
--
1.7.4.4
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic