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

Unified Diff: cc/settings.cc

Issue 11377111: cc: remove jank instead of checkerboard setting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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
« no previous file with comments | « cc/settings.h ('k') | cc/switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/settings.cc
diff --git a/cc/settings.cc b/cc/settings.cc
index 98a877ed253fb103e4370ede31c1949b76753559..e4bb0b0b106e10cd8e39a633742a7e3fd6fd1326 100644
--- a/cc/settings.cc
+++ b/cc/settings.cc
@@ -13,7 +13,6 @@ static bool s_perTilePaintingEnabled = false;
static bool s_partialSwapEnabled = false;
static bool s_acceleratedAnimationEnabled = false;
static bool s_pageScalePinchZoomEnabled = false;
-static bool s_jankInsteadOfCheckerboard = false;
static bool s_backgroundColorInsteadOfCheckerboard = false;
static bool s_traceOverdraw = false;
@@ -25,7 +24,6 @@ void reset()
s_partialSwapEnabled = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnablePartialSwap);
s_acceleratedAnimationEnabled = !CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kDisableThreadedAnimation);
s_pageScalePinchZoomEnabled = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnablePinchInCompositor);
- s_jankInsteadOfCheckerboard = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kJankInsteadOfCheckerboard);
s_backgroundColorInsteadOfCheckerboard = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kBackgroundColorInsteadOfCheckerboard);
s_traceOverdraw = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kTraceOverdraw);
}
@@ -62,13 +60,6 @@ bool Settings::pageScalePinchZoomEnabled()
return s_pageScalePinchZoomEnabled;
}
-bool Settings::jankInsteadOfCheckerboard()
-{
- if (!s_settingsInitialized)
- reset();
- return s_jankInsteadOfCheckerboard;
-}
-
bool Settings::backgroundColorInsteadOfCheckerboard()
{
if (!s_settingsInitialized)
« no previous file with comments | « cc/settings.h ('k') | cc/switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698