Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index 57221b2fdc084e3e9ce3fb4d9923bae653773d1a..a31069a17e95ab9b0d7bb064b9ab0c95bf232f01 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -50,6 +50,9 @@ struct RendererCapabilities; |
// LayerTreeHost->Proxy callback interface. |
class LayerTreeHostImplClient { |
public: |
+ virtual void DidUpdateCapabilitiesOnImplThread( |
+ bool success, |
+ scoped_refptr<ContextProvider> offscreen_context_provider) = 0; |
virtual void DidLoseOutputSurfaceOnImplThread() = 0; |
virtual void OnSwapBuffersCompleteOnImplThread() = 0; |
virtual void OnVSyncParametersChanged(base::TimeTicks timebase, |
@@ -203,6 +206,8 @@ class CC_EXPORT LayerTreeHostImpl |
OVERRIDE; |
// OutputSurfaceClient implementation. |
+ virtual bool InitializeForGL( |
+ scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE; |
virtual void SetNeedsRedrawRect(gfx::Rect rect) OVERRIDE; |
virtual void OnVSyncParametersChanged(base::TimeTicks timebase, |
base::TimeDelta interval) OVERRIDE; |
@@ -396,6 +401,10 @@ class CC_EXPORT LayerTreeHostImpl |
Proxy* proxy_; |
private: |
+ scoped_ptr<OutputSurface> CleanupForRendererInitialization(); |
+ bool DoInitializeRenderer(scoped_ptr<OutputSurface> output_surface, |
+ bool is_deffered_init); |
+ |
void AnimatePageScale(base::TimeTicks monotonic_time); |
void AnimateScrollbars(base::TimeTicks monotonic_time); |
void AnimateTopControls(base::TimeTicks monotonic_time); |