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

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: Block main thread from state machine; remove completion event; Created 7 years, 3 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 ca3f11e8e6aa6f686dc7e7112c662b14d285aa42..9a5070da8580b959a78297478a6753048d5aff15 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -386,6 +386,10 @@ Compositor::Compositor(CompositorDelegate* delegate,
: kDefaultRefreshRate;
settings.deadline_scheduling_enabled =
cc::switches::IsDeadlineSchedulingEnabled();
+ settings.start_commit_before_draw_enabled =
+ cc::switches::IsStartCommitBeforeDrawEnabled();
+ settings.start_commit_before_activate_enabled =
+ cc::switches::IsStartCommitBeforeActivateEnabled();
settings.partial_swap_enabled =
!command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
settings.per_tile_painting_enabled =

Powered by Google App Engine
This is Rietveld 408576698