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

Unified Diff: cc/scheduler/scheduler.cc

Issue 734063004: Update from https://crrev.com/304418 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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 | « cc/scheduler/scheduler.h ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.cc
diff --git a/cc/scheduler/scheduler.cc b/cc/scheduler/scheduler.cc
index 5c515b2512e210919d95dcd82593359861777cdf..b190988e8571ec8ec38978309b73df7caf700dd5 100644
--- a/cc/scheduler/scheduler.cc
+++ b/cc/scheduler/scheduler.cc
@@ -244,11 +244,6 @@ void Scheduler::DidSwapBuffers() {
}
}
-void Scheduler::SetSwapUsedIncompleteTile(bool used_incomplete_tile) {
- state_machine_.SetSwapUsedIncompleteTile(used_incomplete_tile);
- ProcessScheduledActions();
-}
-
void Scheduler::DidSwapBuffersComplete() {
state_machine_.DidSwapBuffersComplete();
ProcessScheduledActions();
@@ -477,8 +472,9 @@ void Scheduler::BeginRetroFrame() {
"Scheduler::BeginRetroFrames all expired",
TRACE_EVENT_SCOPE_THREAD);
} else {
- BeginImplFrame(begin_retro_frame_args_.front());
+ BeginFrameArgs front = begin_retro_frame_args_.front();
begin_retro_frame_args_.pop_front();
+ BeginImplFrame(front);
}
}
@@ -669,9 +665,6 @@ void Scheduler::ProcessScheduledActions() {
case SchedulerStateMachine::ACTION_COMMIT:
client_->ScheduledActionCommit();
break;
- case SchedulerStateMachine::ACTION_UPDATE_VISIBLE_TILES:
- client_->ScheduledActionUpdateVisibleTiles();
- break;
case SchedulerStateMachine::ACTION_ACTIVATE_SYNC_TREE:
client_->ScheduledActionActivateSyncTree();
break;
« no previous file with comments | « cc/scheduler/scheduler.h ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698