diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-02-08 19:24:37 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-02-15 11:22:30 -0500 |
commit | 41045095bddfe460a76fb560e1d087430d8fd76f (patch) | |
tree | 657a87039936e0eb9b4d379311392efea052a2c5 /dri2proto.h | |
parent | bd6f2584d3d55746bb56bf923b35e85adfd0dc3b (diff) |
Define an event to notify clients about the validity of their buffers.
Bumps the protocol and package versions.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'dri2proto.h')
-rw-r--r-- | dri2proto.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/dri2proto.h b/dri2proto.h index 43152c2..9708a4a 100644 --- a/dri2proto.h +++ b/dri2proto.h @@ -35,10 +35,10 @@ #define DRI2_NAME "DRI2" #define DRI2_MAJOR 1 -#define DRI2_MINOR 2 +#define DRI2_MINOR 3 #define DRI2NumberErrors 0 -#define DRI2NumberEvents 1 +#define DRI2NumberEvents 2 #define DRI2NumberRequests 13 #define X_DRI2QueryVersion 0 @@ -59,6 +59,7 @@ * Events */ #define DRI2_BufferSwapComplete 0 +#define DRI2_InvalidateBuffers 1 typedef struct { CARD32 attachment B32; @@ -299,4 +300,18 @@ typedef struct { } xDRI2BufferSwapComplete; #define sz_xDRI2BufferSwapComplete 32 +typedef struct { + CARD8 type; + CARD8 pad; + CARD16 sequenceNumber B16; + CARD32 drawable B32; + CARD32 pad1 B32; + CARD32 pad2 B32; + CARD32 pad3 B32; + CARD32 pad4 B32; + CARD32 pad5 B32; + CARD32 pad6 B32; +} xDRI2InvalidateBuffers; +#define sz_xDRI2InvalidateBuffers 32 + #endif |