summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/dri2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/x11/dri2.h')
-rw-r--r--src/glx/x11/dri2.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/glx/x11/dri2.h b/src/glx/x11/dri2.h
index ba6eff5e4f7..ae6030842cb 100644
--- a/src/glx/x11/dri2.h
+++ b/src/glx/x11/dri2.h
@@ -86,6 +86,18 @@ DRI2CopyRegion(Display * dpy, XID drawable,
CARD32 dest, CARD32 src);
extern void
-DRI2SwapBuffers(Display *dpy, XID drawable);
+DRI2SwapBuffers(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor,
+ CARD64 remainder, CARD64 *count);
+
+extern Bool
+DRI2GetMSC(Display *dpy, XID drawable, CARD64 *ust, CARD64 *msc, CARD64 *sbc);
+
+extern Bool
+DRI2WaitMSC(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor,
+ CARD64 remainder, CARD64 *ust, CARD64 *msc, CARD64 *sbc);
+
+extern Bool
+DRI2WaitSBC(Display *dpy, XID drawable, CARD64 target_sbc, CARD64 *ust,
+ CARD64 *msc, CARD64 *sbc);
#endif