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

Unified Diff: cc/scheduler/scheduler_state_machine.h

Issue 23686011: CC: Fix missing swap-used-incomplete-tile updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test. Created 7 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 43bf2be4c94521c27abae9f15386c8b1c6754375..0240af6ca89b29c4090a662efb23a74ec4e05083 100644
--- a/cc/scheduler/scheduler_state_machine.h
+++ b/cc/scheduler/scheduler_state_machine.h
@@ -110,9 +110,9 @@ class CC_EXPORT SchedulerStateMachine {
// we are not visible.
void SetNeedsForcedRedraw();
- // Indicates that a redraw is required because we are currently rendering
+ // Indicates whether a redraw is required because we are currently rendering
// with a low resolution or checkerboarded tile.
- void DidSwapUseIncompleteTile();
+ void SetSwapUsedIncompleteTile(bool used_incomplete_tile);
// Indicates whether ACTION_DRAW_IF_POSSIBLE drew to the screen or not.
void DidDrawIfPossibleCompleted(bool success);
@@ -188,7 +188,7 @@ class CC_EXPORT SchedulerStateMachine {
void UpdateStateOnCommit(bool commit_was_aborted);
void UpdateStateOnActivation();
- void UpdateStateOnDraw(bool did_swap);
+ void UpdateStateOnDraw();
const SchedulerSettings settings_;

Powered by Google App Engine
This is Rietveld 408576698