diff options
author | Mike Stroyan | 2010-02-16 15:47:21 -0600 |
---|---|---|
committer | Kristian Høgsberg | 2010-02-17 10:34:31 -0600 |
commit | 1911ee62a552fae34c82c91b4deef523380fbfe1 (patch) | |
tree | aa7cad031c918d79367192c833a3f24661cbb5d2 | |
parent | 41045095bddfe460a76fb560e1d087430d8fd76f (diff) | |
download | dri2proto-1911ee62a552fae34c82c91b4deef523380fbfe1.tar.gz dri2proto-1911ee62a552fae34c82c91b4deef523380fbfe1.tar.xz dri2proto-1911ee62a552fae34c82c91b4deef523380fbfe1.zip |
Add more info about dri2proto events
-rw-r--r-- | dri2proto.txt | 36 |
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 | ||
154 | 5. Events | 154 | 5. Events |
155 | 155 | ||
156 | The only event provided by DRI2 is DRI2_BufferSwapComplete. | 156 | The only events provided by DRI2 are DRI2_BufferSwapComplete |
157 | and DRI2InvalidateBuffers. | ||
157 | 158 | ||
158 | 159 | ||
159 | ⚙ ⚙ ⚙ ⚙ ⚙ ⚙ | 160 | ⚙ ⚙ ⚙ ⚙ ⚙ ⚙ |
@@ -826,7 +827,38 @@ A.2 Protocol Requests | |||
826 | 827 | ||
827 | A.3 Protocol Events | 828 | A.3 Protocol Events |
828 | 829 | ||
829 | The DRI2 extension specifies no events. | 830 | The DRI2 extension specifies DRI2_BufferSwapComplete and |
831 | DRI2_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 | ||
831 | A.4 Protocol Errors | 863 | A.4 Protocol Errors |
832 | 864 | ||