diff options
-rw-r--r-- | dri2proto.h | 17 |
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; |