| Index: cc/output/output_surface_client.h
|
| diff --git a/cc/output/output_surface_client.h b/cc/output/output_surface_client.h
|
| index 7e509a8269ec9f255ece21b101699ca1407c2109..ccfa12a2d25d7f0ccc7e585d45fb574f925af13e 100644
|
| --- a/cc/output/output_surface_client.h
|
| +++ b/cc/output/output_surface_client.h
|
| @@ -11,6 +11,7 @@
|
| #include "cc/base/cc_export.h"
|
| #include "cc/output/begin_frame_args.h"
|
| #include "cc/output/context_provider.h"
|
| +#include "cc/scheduler/frame_rate_controller.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| namespace gfx {
|
| @@ -22,7 +23,7 @@ namespace cc {
|
| class CompositorFrameAck;
|
| struct ManagedMemoryPolicy;
|
|
|
| -class CC_EXPORT OutputSurfaceClient {
|
| +class CC_EXPORT OutputSurfaceClient : public BeginFrameSourceClient {
|
| public:
|
| // Called to synchronously re-initialize using the Context3D. Upon returning
|
| // the compositor should be able to draw using GL what was previously
|
| @@ -30,6 +31,8 @@ class CC_EXPORT OutputSurfaceClient {
|
| virtual bool DeferredInitialize(
|
| scoped_refptr<ContextProvider> offscreen_context_provider) = 0;
|
| virtual void ReleaseGL() = 0;
|
| + virtual void CommitVSyncParameters(base::TimeTicks timebase,
|
| + base::TimeDelta interval);
|
| virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) = 0;
|
| virtual void BeginImplFrame(const BeginFrameArgs& args) = 0;
|
| virtual void DidSwapBuffers() = 0;
|
|
|