summaryrefslogtreecommitdiff
path: root/dri2tokens.h
diff options
context:
space:
mode:
Diffstat (limited to 'dri2tokens.h')
-rw-r--r--dri2tokens.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dri2tokens.h b/dri2tokens.h
index d560271..7804e4d 100644
--- a/dri2tokens.h
+++ b/dri2tokens.h
@@ -47,4 +47,9 @@
#define DRI2DriverDRI 0
#define DRI2DriverVDPAU 1
+/* Event sub-types for the swap complete event */
+#define DRI2_EXCHANGE_COMPLETE 0x1
+#define DRI2_BLIT_COMPLETE 0x2
+#define DRI2_FLIP_COMPLETE 0x3
+
#endif