summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stroyan <mike@LunarG.com>2010-02-16 14:47:21 -0700
committerKristian Høgsberg <krh@bitplanet.net>2010-02-17 11:34:31 -0500
commit1911ee62a552fae34c82c91b4deef523380fbfe1 (patch)
treeaa7cad031c918d79367192c833a3f24661cbb5d2
parent41045095bddfe460a76fb560e1d087430d8fd76f (diff)
Add more info about dri2proto events
-rw-r--r--dri2proto.txt36
1 files changed, 34 insertions, 2 deletions
diff --git a/dri2proto.txt b/dri2proto.txt
index 3d3eec4..9aa7578 100644
--- a/dri2proto.txt
+++ b/dri2proto.txt
@@ -153,7 +153,8 @@ No errrors defined by the DRI2 extension.
5. Events
-The only event provided by DRI2 is DRI2_BufferSwapComplete.
+The only events provided by DRI2 are DRI2_BufferSwapComplete
+and DRI2InvalidateBuffers.
⚙ ⚙ ⚙ ⚙ ⚙ ⚙
@@ -826,7 +827,38 @@ A.2 Protocol Requests
A.3 Protocol Events
-The DRI2 extension specifies no events.
+The DRI2 extension specifies DRI2_BufferSwapComplete and
+DRI2_InvalidateBuffers events.
+
+┌───
+ DRI2_BufferSwapComplete
+ 1 CARD8 type
+ 1 CARD8 extension
+ 2 CARD16 sequenceNumber
+ 2 CARD16 event_type
+ 4 DRAWABLE drawable
+ 4 CARD32 ust_hi
+ 4 CARD32 ust_lo
+ 4 CARD32 msc_hi
+ 4 CARD32 msc_lo
+ 4 CARD32 sbc_hi
+ 4 CARD32 sbc_lo
+└───
+
+
+┌───
+ DRI2_InvalidateBuffers
+ 1 CARD8 type
+ 1 CARD8 extension
+ 2 CARD16 sequenceNumber
+ 4 DRAWABLE drawable
+ 4 CARD32 unused
+ 4 CARD32 unused
+ 4 CARD32 unused
+ 4 CARD32 unused
+ 4 CARD32 unused
+ 4 CARD32 unused
+└───
A.4 Protocol Errors