dri2proto: Branch 'master' - 2 commits
Kristian Høgsberg
krh at kemper.freedesktop.org
Wed Feb 17 08:35:53 PST 2010
dri2proto.txt | 40 ++++++++++++++++++++++++++++++++++++----
1 file changed, 36 insertions(+), 4 deletions(-)
New commits:
commit 3e6dc6d72844bbc8e8752e2ac2e781cb7d0172f1
Author: Mike Stroyan <mike at LunarG.com>
Date: Tue Feb 16 14:51:43 2010 -0700
Fix typo and obsolete reference in dri2proto.txt
diff --git a/dri2proto.txt b/dri2proto.txt
index 9aa7578..f74792e 100644
--- a/dri2proto.txt
+++ b/dri2proto.txt
@@ -146,7 +146,7 @@ version 2 is used in the CopyRegion request.
4. Errors
-No errrors defined by the DRI2 extension.
+No errors are defined by the DRI2 extension.
â â â â â â
@@ -260,7 +260,7 @@ The name of this extension is "DRI2".
If the client is not local, or the request driver type is
unknown or not available, 'driver' and 'device' will be empty
- strings, 'group' will be '0'. We are not using an regular X
+ strings. We are not using an regular X
error here to indicate failure, which will allow the client
fall back to other options more easily.
commit 1911ee62a552fae34c82c91b4deef523380fbfe1
Author: Mike Stroyan <mike at LunarG.com>
Date: Tue Feb 16 14:47:21 2010 -0700
Add more info about dri2proto events
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
More information about the xorg-commit
mailing list