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

Unified Diff: ui/compositor/compositor.cc

Issue 23907006: cc: Allow sending BeginMainFrame before draw or activation (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedDeadline3
Patch Set: Do not start commit before draw for UI compositor Created 6 years, 10 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
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 91302734c727812b0170acef6a2794d2ba0a699c..8d7db54f4cec77f5c08214b6f4ab3c7d38c844b6 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -210,6 +210,8 @@ Compositor::Compositor(gfx::AcceleratedWidget widget)
ContextFactory::GetInstance()->DoesCreateTestContexts()
? kTestRefreshRate
: kDefaultRefreshRate;
+ settings.start_commit_before_draw_enabled = false;
brianderson 2014/03/05 00:30:48 Went ahead and disabled this since we'll be moving
+ settings.start_commit_before_activate_enabled = false;
settings.partial_swap_enabled =
!command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
#if defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698