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

Unified Diff: cc/scheduler/scheduler.cc

Issue 672283003: cc: ReadyToDraw notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean-ups Created 6 years, 2 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 88c27c103e33fe2d85302772a302663515a5715c..270aacec748e6fac45e2b036de7c2c27a9f910af 100644
--- a/cc/scheduler/scheduler.cc
+++ b/cc/scheduler/scheduler.cc
@@ -197,6 +197,11 @@ void Scheduler::NotifyReadyToActivate() {
ProcessScheduledActions();
}
+void Scheduler::NotifyReadyToDraw() {
+ // Empty for now, until we take action based on the notification as part of
+ // crbugs 352894, 383157, 421923.
reveman 2014/10/28 15:52:24 Could we at least make this perform a UpdateVisibl
enne (OOO) 2014/10/28 19:07:47 +danakj
reveman 2014/10/28 19:20:10 Never mind. I see that you already have this check
brianderson 2014/10/28 22:11:07 We'll use this notification in the Scheduler very
danakj 2014/10/31 17:07:55 I think this plumbing can go away. We can just Set
brianderson 2014/10/31 23:04:24 NotifyReadyToDraw will indicate that we can draw w
danakj 2014/11/03 16:11:12 Interesting, how does that play out with other sou
+}
+
void Scheduler::SetNeedsCommit() {
state_machine_.SetNeedsCommit();
ProcessScheduledActions();

Powered by Google App Engine
This is Rietveld 408576698