DRI2: add SwapInterval support
[mesa.git] / src / glx / x11 / glxclient.h
index 2b835a0a9ca0417d292d38f9c5efca952e59f352..ded4f5a434a189dc650e83d38f4c754ff490470f 100644 (file)
@@ -148,6 +148,8 @@ struct __GLXDRIscreenRec {
                     int64_t *msc, int64_t *sbc);
    int (*waitForSBC)(__GLXDRIdrawable *pdraw, int64_t target_sbc, int64_t *ust,
                     int64_t *msc, int64_t *sbc);
+   void (*setSwapInterval)(__GLXDRIdrawable *pdraw, int interval);
+   int (*getSwapInterval)(__GLXDRIdrawable *pdraw);
 };
 
 struct __GLXDRIcontextRec