diff options
author | Jesse Barnes <[email protected]> | 2009-11-10 13:28:01 -0800 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2010-01-08 12:33:32 -0500 |
commit | efc82e7c703f9160cfdbe6d97e166ca6f5e75d86 (patch) | |
tree | f0c5d65580be40ee818758b11276531dcb6142bd /src/glx/x11/dri2.h | |
parent | daf7fe69f7bd0caa955d30b43fc35b7ce0069b6b (diff) |
DRI2: add SwapInterval support
Add support for the DRI2SwapInterval protocol request. This allows
direct rendered clients to control their swap interval per the
SGI_swap_control extension.
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'src/glx/x11/dri2.h')
-rw-r--r-- | src/glx/x11/dri2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glx/x11/dri2.h b/src/glx/x11/dri2.h index ae6030842cb..114e9f8f965 100644 --- a/src/glx/x11/dri2.h +++ b/src/glx/x11/dri2.h @@ -100,4 +100,7 @@ extern Bool DRI2WaitSBC(Display *dpy, XID drawable, CARD64 target_sbc, CARD64 *ust, CARD64 *msc, CARD64 *sbc); +extern void +DRI2SwapInterval(Display *dpy, XID drawable, int interval); + #endif |