summaryrefslogtreecommitdiff
path: root/dri2proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'dri2proto.h')
-rw-r--r--dri2proto.h19
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