diff options
Diffstat (limited to 'cc/output/output_surface.h')
-rw-r--r-- | cc/output/output_surface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h index ce425ed..bb473e2 100644 --- a/cc/output/output_surface.h +++ b/cc/output/output_surface.h @@ -91,6 +91,11 @@ class CC_EXPORT OutputSurface { // processing should be stopped, or lowered in priority. virtual void UpdateSmoothnessTakesPriority(bool prefer_smoothness) {} + // Requests a vsync notification from the output surface. The notification + // will be delivered by calling OutputSurfaceClient::DidVSync for all future + // vsync events until the callback is disabled. + virtual void EnableVSyncNotification(bool enable_vsync) {} + protected: OutputSurfaceClient* client_; struct cc::OutputSurface::Capabilities capabilities_; |