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

Unified Diff: cc/scheduler/scheduler.h

Issue 54913003: Scheduler: Switch from high to low latency mode if possible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update MainThreadIsInHighLatencyMode() and comments. Created 7 years, 1 month 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
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | cc/scheduler/scheduler_state_machine.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index 1a284f187d5c1ac2193fcf7e9baf1c24d0c6ae73..9b435aa6cdc4d316352d268f91ca9907aed1a188 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -133,6 +133,8 @@ class CC_EXPORT Scheduler {
void DrawAndReadback();
void ProcessScheduledActions();
+ bool CanPaintAndCommitBeforeDeadline() const;
brianderson 2013/11/05 00:24:17 Since commit happens before rasterization + activa
Dominik Grewe 2013/11/05 12:24:20 Sgtm.
+
const SchedulerSettings settings_;
SchedulerClient* client_;
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | cc/scheduler/scheduler_state_machine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698