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

Unified Diff: cc/scheduler/scheduler.cc

Issue 1165853002: Pipe impl_latency_takes_priority_ to the RenderScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made the flag default Created 5 years, 6 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: cc/scheduler/scheduler.cc
diff --git a/cc/scheduler/scheduler.cc b/cc/scheduler/scheduler.cc
index 0d90c68214f15a822f66419d899885b7a4e84e56..03b9eeca388760153e5fa40cd609f93c8584ae53 100644
--- a/cc/scheduler/scheduler.cc
+++ b/cc/scheduler/scheduler.cc
@@ -354,6 +354,7 @@ bool Scheduler::OnBeginFrameMixInDelegate(const BeginFrameArgs& args) {
// TODO(brianderson): Adjust deadline in the DisplayScheduler.
BeginFrameArgs adjusted_args(args);
adjusted_args.deadline -= EstimatedParentDrawTime();
+ adjusted_args.on_critical_path = !ImplLatencyTakesPriority();
brianderson 2015/06/09 01:12:42 Depending on how the Renderer scheduler uses this
Sami 2015/06/09 09:47:34 When this flag is false, the renderer scheduler is
brianderson 2015/06/10 01:13:35 Hmm, probably not. It's more of an in-between prio
// Deliver BeginFrames to children.
// TODO(brianderson): Move this responsibility to the DisplayScheduler.

Powered by Google App Engine
This is Rietveld 408576698