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

Side by Side Diff: cc/base/switches.cc

Issue 18370002: cc: Made use color estimator a const instead of a flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cc_perftests compile error Created 7 years, 5 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 unified diff | Download patch
« no previous file with comments | « cc/base/switches.h ('k') | cc/resources/raster_worker_pool.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/base/switches.h" 5 #include "cc/base/switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace cc { 9 namespace cc {
10 namespace switches { 10 namespace switches {
11 11
12 // On platforms where checkerboards are used, prefer background colors instead 12 // On platforms where checkerboards are used, prefer background colors instead
13 // of checkerboards. 13 // of checkerboards.
14 const char kBackgroundColorInsteadOfCheckerboard[] = 14 const char kBackgroundColorInsteadOfCheckerboard[] =
15 "background-color-instead-of-checkerboard"; 15 "background-color-instead-of-checkerboard";
16 16
17 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; 17 const char kDisableThreadedAnimation[] = "disable-threaded-animation";
18 18
19 // Do not predict whether the tile will be either solid color or transparent.
20 const char kDisableColorEstimator[] = "disable-color-estimator";
21
22 // Paint content on the main thread instead of the compositor thread. 19 // Paint content on the main thread instead of the compositor thread.
23 // Overrides the kEnableImplSidePainting flag. 20 // Overrides the kEnableImplSidePainting flag.
24 const char kDisableImplSidePainting[] = "disable-impl-side-painting"; 21 const char kDisableImplSidePainting[] = "disable-impl-side-painting";
25 22
26 // Paint content on the compositor thread instead of the main thread. 23 // Paint content on the compositor thread instead of the main thread.
27 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; 24 const char kEnableImplSidePainting[] = "enable-impl-side-painting";
28 25
29 const char kEnableTopControlsPositionCalculation[] = 26 const char kEnableTopControlsPositionCalculation[] =
30 "enable-top-controls-position-calculation"; 27 "enable-top-controls-position-calculation";
31 28
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 141
145 #if defined(OS_ANDROID) 142 #if defined(OS_ANDROID)
146 return true; 143 return true;
147 #else 144 #else
148 return false; 145 return false;
149 #endif 146 #endif
150 } 147 }
151 148
152 } // namespace switches 149 } // namespace switches
153 } // namespace cc 150 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/resources/raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698