Index: cc/trees/single_thread_proxy.cc |
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc |
index 157ecbeeb5ec4695591b26c69766a539a8227394..4d9ad507b3b9fd663e96f69545204e32774f3230 100644 |
--- a/cc/trees/single_thread_proxy.cc |
+++ b/cc/trees/single_thread_proxy.cc |
@@ -408,6 +408,7 @@ void SingleThreadProxy::ForceSerializeOnSwapBuffers() { |
bool SingleThreadProxy::ShouldComposite() const { |
DCHECK(Proxy::IsImplThread()); |
+ DLOG(INFO) << layer_tree_host_impl_->visible() << ", " << layer_tree_host_impl_->CanDraw(); |
return layer_tree_host_impl_->visible() && |
layer_tree_host_impl_->CanDraw(); |
} |
@@ -421,6 +422,7 @@ void SingleThreadProxy::UpdateBackgroundAnimateTicking() { |
bool SingleThreadProxy::DoComposite( |
base::TimeTicks frame_begin_time, |
LayerTreeHostImpl::FrameData* frame) { |
+ DLOG(INFO) << "DoComposite"; |
TRACE_EVENT0("cc", "SingleThreadProxy::DoComposite"); |
DCHECK(!layer_tree_host_->output_surface_lost()); |
@@ -435,6 +437,7 @@ bool SingleThreadProxy::DoComposite( |
// CanDraw() as well. |
if (!ShouldComposite()) { |
UpdateBackgroundAnimateTicking(); |
+ DLOG(INFO) << "ShouldComposite = false"; |
return false; |
} |