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

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: Make commit waiting states explicit 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 46050fedd83951496539f78f0dd91cf271f7e58b..1d667cb34c76281b7585d0415f1f59a57126ca7e 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -209,6 +209,10 @@ Compositor::Compositor(gfx::AcceleratedWidget widget)
: kDefaultRefreshRate;
settings.deadline_scheduling_enabled =
switches::IsUIDeadlineSchedulingEnabled();
+ 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 =
« 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