summaryrefslogtreecommitdiff
path: root/dri2proto.h
diff options
context:
space:
mode:
authorIan Romanick <idr@freedesktop.org>2009-04-20 21:16:24 -0700
committerIan Romanick <ian.d.romanick@intel.com>2009-04-24 12:52:01 -0700
commit66c56ab10d917e3f47f93178d7eac6430970d3c4 (patch)
treedd6135e27ffd2b4f592cb3911c8f4b69cfa2b6af /dri2proto.h
parenta223ab5e6a215d86e4bf072369b331506f689f83 (diff)
Add protocol for DRI2GetBuffersWithFormat
This function replaces DRI2GetBuffers. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
Diffstat (limited to 'dri2proto.h')
-rw-r--r--dri2proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dri2proto.h b/dri2proto.h
index dc3f2d1..8d76079 100644
--- a/dri2proto.h
+++ b/dri2proto.h
@@ -35,11 +35,11 @@
#define DRI2_NAME "DRI2"
#define DRI2_MAJOR 1
-#define DRI2_MINOR 0
+#define DRI2_MINOR 1
#define DRI2NumberErrors 0
#define DRI2NumberEvents 0
-#define DRI2NumberRequests 7
+#define DRI2NumberRequests 8
#define X_DRI2QueryVersion 0
#define X_DRI2Connect 1
@@ -48,6 +48,7 @@
#define X_DRI2DestroyDrawable 4
#define X_DRI2GetBuffers 5
#define X_DRI2CopyRegion 6
+#define X_DRI2GetBuffersWithFormat 7
typedef struct {
CARD32 attachment B32;