aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Stroyan2010-02-16 15:47:21 -0600
committerKristian Høgsberg2010-02-17 10:34:31 -0600
commit1911ee62a552fae34c82c91b4deef523380fbfe1 (patch)
treeaa7cad031c918d79367192c833a3f24661cbb5d2
parent41045095bddfe460a76fb560e1d087430d8fd76f (diff)
downloaddri2proto-1911ee62a552fae34c82c91b4deef523380fbfe1.tar.gz
dri2proto-1911ee62a552fae34c82c91b4deef523380fbfe1.tar.xz
dri2proto-1911ee62a552fae34c82c91b4deef523380fbfe1.zip
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.
153 153
1545. Events 1545. Events
155 155
156The only event provided by DRI2 is DRI2_BufferSwapComplete. 156The only events provided by DRI2 are DRI2_BufferSwapComplete
157and DRI2InvalidateBuffers.
157 158
158 159
159 ⚙ ⚙ ⚙ ⚙ ⚙ ⚙ 160 ⚙ ⚙ ⚙ ⚙ ⚙ ⚙
@@ -826,7 +827,38 @@ A.2 Protocol Requests
826 827
827A.3 Protocol Events 828A.3 Protocol Events
828 829
829The DRI2 extension specifies no events. 830The DRI2 extension specifies DRI2_BufferSwapComplete and
831DRI2_InvalidateBuffers events.
832
833┌───
834 DRI2_BufferSwapComplete
835 1 CARD8 type
836 1 CARD8 extension
837 2 CARD16 sequenceNumber
838 2 CARD16 event_type
839 4 DRAWABLE drawable
840 4 CARD32 ust_hi
841 4 CARD32 ust_lo
842 4 CARD32 msc_hi
843 4 CARD32 msc_lo
844 4 CARD32 sbc_hi
845 4 CARD32 sbc_lo
846└───
847
848
849┌───
850 DRI2_InvalidateBuffers
851 1 CARD8 type
852 1 CARD8 extension
853 2 CARD16 sequenceNumber
854 4 DRAWABLE drawable
855 4 CARD32 unused
856 4 CARD32 unused
857 4 CARD32 unused
858 4 CARD32 unused
859 4 CARD32 unused
860 4 CARD32 unused
861└───
830 862
831A.4 Protocol Errors 863A.4 Protocol Errors
832 864