summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2013-08-22 17:33:53 +0900
committerSooChan Lim <sc1.lim@samsung.com>2013-08-27 16:35:33 +0900
commitd934b92165df5be63c52b91fae572fb5a6cd0702 (patch)
tree0317bf655130a74e16e4f04b16b9a1823f4135b5
parent0aab30d283fe0ff2efd1e6f98b0b403da62117d0 (diff)
downloaddri2proto-accepted/tizen/20130910.202042.tar.gz
dri2proto-accepted/tizen/20130910.202042.tar.bz2
dri2proto-accepted/tizen/20130910.202042.zip
-rw-r--r--dri2proto.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/dri2proto.h b/dri2proto.h
index 128b807..52ea6ac 100644
--- a/dri2proto.h
+++ b/dri2proto.h
@@ -55,7 +55,7 @@
#define X_DRI2WaitSBC 11
#define X_DRI2SwapInterval 12
#define X_DRI2GetParam 13
-
+#define X_DRI2SwapBuffersWithRegion 50 /*Experimental protocol for TIZEN*/
/*
* Events
*/
@@ -217,6 +217,21 @@ typedef struct {
} xDRI2SwapBuffersReq;
#define sz_xDRI2SwapBuffersReq 32
+/*Experimental protocol for TIZEN*/
+typedef struct {
+ CARD8 reqType;
+ CARD8 dri2ReqType;
+ CARD16 length B16;
+ CARD32 drawable B32;
+ CARD32 region B32;
+ CARD32 pad3 B32;
+ CARD32 pad4 B32;
+ CARD32 pad5 B32;
+ CARD32 pad6 B32;
+ CARD32 pad7 B32;
+} xDRI2SwapBuffersWithRegionReq;
+#define sz_xDRI2SwapBuffersWithRegionReq 32
+
typedef struct {
BYTE type; /* X_Reply */
BYTE pad1;