summaryrefslogtreecommitdiff
path: root/dri2tokens.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-10-14 23:19:15 -0400
committerKristian Høgsberg <krh@redhat.com>2008-10-14 23:19:15 -0400
commit8cab3f0e6f551220bd11074779f4ccec1e948e00 (patch)
treefaff3d153b17965e382f472be0c433fd3d394d77 /dri2tokens.h
parentabb1edc487543c26856afdbe6a7e2c088a1e82ee (diff)
Add protocol documentation, update to DRI2CopyRegion request.
Diffstat (limited to 'dri2tokens.h')
-rw-r--r--dri2tokens.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/dri2tokens.h b/dri2tokens.h
index 3e71c17..087159f 100644
--- a/dri2tokens.h
+++ b/dri2tokens.h
@@ -33,12 +33,16 @@
#ifndef _DRI2_TOKENS_H_
#define _DRI2_TOKENS_H_
-#define DRI2_BUFFER_FRONT_LEFT 0
-#define DRI2_BUFFER_BACK_LEFT 1
-#define DRI2_BUFFER_FRONT_RIGHT 2
-#define DRI2_BUFFER_BACK_RIGHT 3
-#define DRI2_BUFFER_DEPTH 4
-#define DRI2_BUFFER_STENCIL 5
-#define DRI2_BUFFER_ACCUM 6
+#define DRI2BufferFrontLeft 0
+#define DRI2BufferBackLeft 1
+#define DRI2BufferFrontRight 2
+#define DRI2BufferBackRight 3
+#define DRI2BufferDepth 4
+#define DRI2BufferStencil 5
+#define DRI2BufferAccum 6
+#define DRI2BufferFakeFrontLeft 7
+#define DRI2BufferFakeFrontRight 8
+
+#define DRI2DriverDRI 0
#endif