dri2proto: Fix documented opcodes
PATCH 1/1 dri2proto: Fix documented opcodes
Fix the documented opcodes in dri2proto.txt to be consistent with the actual opcode values in dri2proto.h and in xcb/proto:src/dri2.xml. (It looks like the opcodes were incorrect due to copy-paste errors).
--- dri2proto.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
dri2proto.txt +9 -9
@@ -658,7 +658,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
@@ -678,7 +678,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
@@ -695,7 +695,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
@@ -715,7 +715,7 @@ A.2 Protocol Requests ┌─── DRI2SwapBuffers 1 CARD8 major opcode - 1 7 DRI2 opcode + 1 8 DRI2 opcode 2 8 length 4 DRAWABLE drawable ▶
@@ -736,7 +736,7 @@ A.2 Protocol Requests ┌─── DRI2SwapBuffers 1 CARD8 major opcode - 1 7 DRI2 opcode + 1 8 DRI2 opcode 2 8 length 4 DRAWABLE drawable 4 CARD32 target_msc_hi
@@ -758,7 +758,7 @@ A.2 Protocol Requests ┌─── DRI2GetMSC 1 CARD8 major opcode - 1 7 DRI2 opcode + 1 9 DRI2 opcode 2 8 length 4 DRAWABLE drawable ▶
@@ -777,7 +777,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
@@ -802,7 +802,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
@@ -823,7 +823,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
Signature · 6 lines
1.7.10 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Quoted 3 lines · Chad Versace
Fix the documented opcodes in dri2proto.txt to be consistent with the actual opcode values in
dri2proto.hand in xcb/proto:src/dri2.xml. (It looks like the opcodes were incorrect due to copy-paste errors).
Looks correct to me.
Kristian
Quoted 85 lines
CC Kristian Høgsberg <[email protected]>Signed-off-by Chad Versace <[email protected]>---
dri2proto.txt | 18 +++++++++---------1 file changed, 9 insertions(+), 9 deletions(-)dri2proto.txt +0
-0@@ -658,7 +658,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 attachmentsdri2proto.txt +0
-0@@ -678,7 +678,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 regiondri2proto.txt +0
-0@@ -695,7 +695,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 attachmentsdri2proto.txt +0
-0@@ -715,7 +715,7 @@ A.2 Protocol Requests┌───
DRI2SwapBuffers
1 CARD8 major opcode
- 1 7 DRI2 opcode
+ 1 8 DRI2 opcode 2 8 length 4 DRAWABLE drawable ▶dri2proto.txt +0
-0@@ -736,7 +736,7 @@ A.2 Protocol Requests┌───
DRI2SwapBuffers
1 CARD8 major opcode
- 1 7 DRI2 opcode
+ 1 8 DRI2 opcode 2 8 length 4 DRAWABLE drawable 4 CARD32 target_msc_hidri2proto.txt +0
-0@@ -758,7 +758,7 @@ A.2 Protocol Requests┌───
DRI2GetMSC
1 CARD8 major opcode
- 1 7 DRI2 opcode
+ 1 9 DRI2 opcode 2 8 length 4 DRAWABLE drawable ▶dri2proto.txt +0
-0@@ -777,7 +777,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_hidri2proto.txt +0
-0@@ -802,7 +802,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_hidri2proto.txt +0
-0@@ -823,7 +823,7 @@ A.2 Protocol Requests┌───
DRI2SwapInterval
Quoted 9 lines
1 CARD8 major opcode
- 1 7 DRI2 opcode
+ 1 12 DRI2 opcode 2 8 length 4 DRAWABLE drawable 4 CARD32 interval --
1.7.10
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel