Add more info about dri2proto events

This commit is contained in:
Mike Stroyan 2010-02-16 14:47:21 -07:00 committed by Kristian Høgsberg
parent 41045095bd
commit 1911ee62a5

View file

@ -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