summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/dri2.h
diff options
context:
space:
mode:
authorJesse Barnes <[email protected]>2009-11-10 13:28:01 -0800
committerJesse Barnes <[email protected]>2010-01-08 12:33:32 -0500
commitefc82e7c703f9160cfdbe6d97e166ca6f5e75d86 (patch)
treef0c5d65580be40ee818758b11276531dcb6142bd /src/glx/x11/dri2.h
parentdaf7fe69f7bd0caa955d30b43fc35b7ce0069b6b (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.h3
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