Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index e6ab017d37e221a5235d82502a341c22aa1bc35c..812a7f1d62706611e3c0e5e8fedea552502b6f2f 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -463,6 +463,12 @@ void ThreadProxy::SetNeedsRedrawOnImplThread() { |
impl().scheduler->SetNeedsRedraw(); |
} |
+void ThreadProxy::OutputSurfaceDidRequestDraw() { |
brianderson
2014/12/20 00:34:13
OutputSurfaceDidRequestDrawOnImplThread
sunnyps
2014/12/20 00:39:30
Acknowledged.
|
+ TRACE_EVENT0("cc", "ThreadProxy::OutputSurfaceDidRequestDraw"); |
+ DCHECK(IsImplThread()); |
+ impl().scheduler->OutputSurfaceDidRequestDraw(); |
+} |
+ |
void ThreadProxy::SetNeedsAnimateOnImplThread() { |
TRACE_EVENT0("cc", "ThreadProxy::SetNeedsAnimateOnImplThread"); |
DCHECK(IsImplThread()); |
@@ -1075,6 +1081,12 @@ DrawResult ThreadProxy::ScheduledActionDrawAndSwapForced() { |
return DrawSwapInternal(forced_draw); |
} |
+void ThreadProxy::ScheduledActionInvalidateOutputSurface() { |
+ TRACE_EVENT0("cc", "ThreadProxy::ScheduledActionInvalidateOutputSurface"); |
+ DCHECK(impl().layer_tree_host_impl->output_surface()); |
+ impl().layer_tree_host_impl->output_surface()->Invalidate(); |
+} |
+ |
void ThreadProxy::DidAnticipatedDrawTimeChange(base::TimeTicks time) { |
if (impl().current_resource_update_controller) |
impl().current_resource_update_controller->PerformMoreUpdates(time); |