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

Unified Diff: cc/scheduler/scheduler_state_machine.h

Issue 2339633003: Reland of cc: Remove frame queuing from the scheduler. (Closed)
Patch Set: post swap ack from CFS in fresh call stack Created 4 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
Index: cc/scheduler/scheduler_state_machine.h
diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h
index 6fd86a66e2ff4b0bb86995ee63a708bea1bc470d..4f28f65c607a3f220f026374bf01d4ec8ca6a5d3 100644
--- a/cc/scheduler/scheduler_state_machine.h
+++ b/cc/scheduler/scheduler_state_machine.h
@@ -156,6 +156,9 @@ class CC_EXPORT SchedulerStateMachine {
// TODO(sunnyps): Rename OnBeginImplFrameDeadline to OnDraw or similar.
void OnBeginImplFrameDeadline();
void OnBeginImplFrameIdle();
+
+ int current_frame_number() const { return current_frame_number_; }
+
BeginImplFrameState begin_impl_frame_state() const {
return begin_impl_frame_state_;
}

Powered by Google App Engine
This is Rietveld 408576698