Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4396)

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | chrome/browser/ui/app_list/app_list_controller_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | chrome/browser/ui/app_list/app_list_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698