Index: ui/ozone/platform/dri/dri_wrapper.h |
diff --git a/ui/ozone/platform/dri/dri_wrapper.h b/ui/ozone/platform/dri/dri_wrapper.h |
index d47c506db0239758da282396586784a5622dbace..6834c54465bb450e83696df119d92be19db86cf1 100644 |
--- a/ui/ozone/platform/dri/dri_wrapper.h |
+++ b/ui/ozone/platform/dri/dri_wrapper.h |
@@ -102,6 +102,11 @@ class OZONE_EXPORT DriWrapper : public base::RefCountedThreadSafe<DriWrapper> { |
uint32_t framebuffer, |
const PageFlipCallback& callback); |
+ // Like |PageFlip| but synchronous. |
+ virtual bool PageFlipSync(uint32_t crtc_id, |
+ uint32_t framebuffer, |
+ const PageFlipCallback& callback); |
+ |
// Schedule an overlay to be show during the page flip for CRTC |crtc_id|. |
// |source| location from |framebuffer| will be shown on overlay |
// |overlay_plane|, in the bounds specified by |location| on the screen. |