diff options
author | Jesse Barnes <jbarnes@jbarnes-desktop.localdomain> | 2009-11-10 12:12:07 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@jbarnes-desktop.localdomain> | 2009-11-10 12:12:07 -0800 |
commit | 516a1ff1f8ceca9ddefce21303e65d873aeeba14 (patch) | |
tree | 2accff179abe8d39f047b097683f7e8da6af2a0e /dri2proto.h | |
parent | 5e059038a95b5bad7f41a2019beaad913ed29502 (diff) | |
download | xorg-proto-dri2proto-516a1ff1f8ceca9ddefce21303e65d873aeeba14.tar.gz |
Add DRI2SwapInterval protocol
Needed to handle swap interval in the direct rendered case.
Diffstat (limited to 'dri2proto.h')
-rw-r--r-- | dri2proto.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dri2proto.h b/dri2proto.h index 85b9dbf..31bcdb3 100644 --- a/dri2proto.h +++ b/dri2proto.h @@ -53,6 +53,7 @@ #define X_DRI2GetMSC 9 #define X_DRI2WaitMSC 10 #define X_DRI2WaitSBC 11 +#define X_DRI2SwapInterval 12 typedef struct { CARD32 attachment B32; @@ -265,4 +266,13 @@ typedef struct { } xDRI2MSCReply; #define sz_xDRI2MSCReply 32 +typedef struct { + CARD8 reqType; + CARD8 dri2ReqType; + CARD16 length B16; + CARD32 drawable B32; + CARD32 interval B32; +} xDRI2SwapIntervalReq; +#define sz_xDRI2SwapIntervalReq 12 + #endif |