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

Unified Diff: cc/scheduler/scheduler_state_machine.h

Issue 533973002: Add more logging to cc scheduler to debug RAF frame loss. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | cc/scheduler/scheduler_state_machine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler_state_machine.h
diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h
index bb033a15709f6a664e37bf0bfe422dcbebddcf9a..18ee721b2d3e21439716ac376da5dba73dae5f4d 100644
--- a/cc/scheduler/scheduler_state_machine.h
+++ b/cc/scheduler/scheduler_state_machine.h
@@ -237,6 +237,10 @@ class CC_EXPORT SchedulerStateMachine {
bool CouldSendBeginMainFrame() const;
+ // TODO(zmo): This is temporary for debugging crbug.com/393331.
+ // We should remove it afterwards.
+ std::string GetStatesForDebugging() const;
+
protected:
bool BeginFrameNeededToAnimateOrDraw() const;
bool ProactiveBeginFrameWanted() const;
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | cc/scheduler/scheduler_state_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698