| Index: cc/output/output_surface_client.h
|
| diff --git a/cc/output/output_surface_client.h b/cc/output/output_surface_client.h
|
| index 26edec803ad6be85d32b5a02606755d2aa1b9a44..dc68e96dd73e8a61e05d230c118b21a52db9410d 100644
|
| --- a/cc/output/output_surface_client.h
|
| +++ b/cc/output/output_surface_client.h
|
| @@ -5,8 +5,10 @@
|
| #ifndef CC_OUTPUT_OUTPUT_SURFACE_CLIENT_H_
|
| #define CC_OUTPUT_OUTPUT_SURFACE_CLIENT_H_
|
|
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/time.h"
|
| #include "cc/base/cc_export.h"
|
| +#include "cc/output/context_provider.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| namespace gfx {
|
| @@ -19,6 +21,11 @@ class CompositorFrameAck;
|
|
|
| class CC_EXPORT OutputSurfaceClient {
|
| public:
|
| + // Called to synchronously re-initialize using the Context3D. Upon returning
|
| + // the compositor should be able to draw using GL what was previously
|
| + // committed.
|
| + virtual bool DeferredInitialize(
|
| + scoped_refptr<ContextProvider> offscreen_context_provider) = 0;
|
| virtual void SetNeedsRedrawRect(gfx::Rect damage_rect) = 0;
|
| virtual void OnVSyncParametersChanged(base::TimeTicks timebase,
|
| base::TimeDelta interval) = 0;
|
|
|