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

Unified Diff: cc/base/switches.h

Issue 196473007: Add --disable-low-res-tiling. Disable low res tiling to save power. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve merge conflicts Created 6 years, 9 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 | « no previous file | cc/base/switches.cc » ('j') | cc/base/switches.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/switches.h
diff --git a/cc/base/switches.h b/cc/base/switches.h
index 92339cbea24138c7f8f7841ab3ea2d4ab8807e02..12a966cb9174432720b268fdfd462cb60c3e2e6d 100644
--- a/cc/base/switches.h
+++ b/cc/base/switches.h
@@ -16,9 +16,11 @@ namespace cc {
namespace switches {
// Switches for the renderer compositor only.
+CC_EXPORT extern const char kDisableLowResTiling[];
CC_EXPORT extern const char kDisableThreadedAnimation[];
CC_EXPORT extern const char kDisableCompositedAntialiasing[];
CC_EXPORT extern const char kEnableTopControlsPositionCalculation[];
+CC_EXPORT extern const char kEnableLowResTiling[];
CC_EXPORT extern const char kJankInsteadOfCheckerboard[];
CC_EXPORT extern const char kTopControlsHeight[];
CC_EXPORT extern const char kTopControlsHideThreshold[];
@@ -60,6 +62,8 @@ CC_EXPORT extern const char kUIShowNonOccludingRects[];
CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[];
CC_EXPORT extern const char kCCRebaselinePixeltests[];
+CC_EXPORT bool IsLowResTilingEnabled();
+
} // namespace switches
} // namespace cc
« no previous file with comments | « no previous file | cc/base/switches.cc » ('j') | cc/base/switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698