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

Unified Diff: cc/scheduler_state_machine.h

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using WebLayerTreeSettings for things WebKit can set Created 8 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
Index: cc/scheduler_state_machine.h
diff --git a/cc/scheduler_state_machine.h b/cc/scheduler_state_machine.h
index a3947761ffa940e246bc4c3a9829472e41041290..3338c6dedd9957d65031d5ad9a41e0200bf10da8 100644
--- a/cc/scheduler_state_machine.h
+++ b/cc/scheduler_state_machine.h
@@ -126,6 +126,8 @@ public:
std::string toString();
+ void setSettingsJankInsteadOfCheckerboard(bool jank) { m_settingsJankInsteadOfCheckerboard = jank; }
+
protected:
bool shouldDrawForced() const;
bool drawSuspendedUntilCommit() const;
@@ -154,6 +156,8 @@ protected:
TextureState m_textureState;
ContextState m_contextState;
+ bool m_settingsJankInsteadOfCheckerboard;
+
DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine);
};
« cc/layer_tree_host.cc ('K') | « cc/scheduler.cc ('k') | cc/scheduler_state_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698