diff options
Diffstat (limited to 'cc/output_surface.h')
-rw-r--r-- | cc/output_surface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/output_surface.h b/cc/output_surface.h index 4906ec3..4bc3180 100644 --- a/cc/output_surface.h +++ b/cc/output_surface.h @@ -57,6 +57,10 @@ class CC_EXPORT OutputSurface : public WebKit::WebCompositorOutputSurface { // capabilities().has_parent_compositor. The implementation may destroy or // steal the contents of the CompositorFrame passed in. virtual void SendFrameToParentCompositor(CompositorFrame*) = 0; + + // Notifies frame-rate smoothness preference. If true, all non-critical + // processing should be stopped, or lowered in priority. + virtual void UpdateSmoothnessTakesPriority(bool prefer_smoothness) {} }; } // namespace cc |