Index: cc/trees/thread_proxy.h |
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h |
index cce2f33e5a23d4d81856e11f99331ee0dcc73c2f..134d5c518f2cfb100cf99faaf4f538ef43b2e285 100644 |
--- a/cc/trees/thread_proxy.h |
+++ b/cc/trees/thread_proxy.h |
@@ -71,6 +71,7 @@ |
bool can_cancel_commit; |
bool defer_commits; |
+ base::CancelableClosure output_surface_creation_callback; |
RendererCapabilities renderer_capabilities_main_thread_copy; |
scoped_ptr<BeginMainFrameAndCommitState> pending_deferred_commit; |
@@ -241,10 +242,8 @@ |
void DidCommitAndDrawFrame(); |
void DidCompleteSwapBuffers(); |
void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue); |
- void DidLoseOutputSurface(); |
void CreateAndInitializeOutputSurface(); |
- void DidInitializeOutputSurface(bool success, |
- const RendererCapabilities& capabilities); |
+ void DoCreateAndInitializeOutputSurface(); |
void SendCommitRequestToImplThreadIfNeeded(); |
// Called on impl thread. |
@@ -262,9 +261,11 @@ |
void HasInitializedOutputSurfaceOnImplThread( |
CompletionEvent* completion, |
bool* has_initialized_output_surface); |
- void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); |
- void InitializeOutputSurfaceOnImplThread( |
- scoped_ptr<OutputSurface> output_surface); |
+ virtual void InitializeOutputSurfaceOnImplThread( |
+ CompletionEvent* completion, |
+ scoped_ptr<OutputSurface> output_surface, |
+ bool* success, |
+ RendererCapabilities* capabilities); |
void FinishGLOnImplThread(CompletionEvent* completion); |
void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); |
DrawResult DrawSwapInternal(bool forced_draw); |