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

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: rebase 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..1db2596944283be653db8f347d125aee39efa9d0 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -210,6 +210,10 @@ Compositor::Compositor(gfx::AcceleratedWidget widget)
ContextFactory::GetInstance()->DoesCreateTestContexts()
? kTestRefreshRate
: kDefaultRefreshRate;
+ settings.start_commit_before_draw_enabled =
danakj 2014/02/28 21:19:12 Did you collect any data for the browser composito
brianderson 2014/02/28 21:36:28 I have not. Theoretically, this wont make a differ
danakj 2014/02/28 21:52:58 I'm worried that if we commit sooner we miss rende
+ cc::switches::IsStartCommitBeforeDrawEnabled();
+ settings.start_commit_before_activate_enabled =
+ cc::switches::IsStartCommitBeforeActivateEnabled();
settings.partial_swap_enabled =
!command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
#if defined(OS_CHROMEOS)
« cc/scheduler/scheduler_state_machine.cc ('K') | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698