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

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

Issue 12968005: Revert 190067 "Re-land: cc: Enable solid color prediction by def..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
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 // Send a message for every frame from the impl thread to the parent compositor. 19 // Send a message for every frame from the impl thread to the parent compositor.
20 const char kEnableCompositorFrameMessage[] = "enable-compositor-frame-message"; 20 const char kEnableCompositorFrameMessage[] = "enable-compositor-frame-message";
21 21
22 // Do not predict whether the tile will be either solid color or transparent.
23 const char kDisableColorEstimator[] = "disable-color-estimator";
24
25 // Paint content on the main thread instead of the compositor thread. 22 // Paint content on the main thread instead of the compositor thread.
26 // Overrides the kEnableImplSidePainting flag. 23 // Overrides the kEnableImplSidePainting flag.
27 const char kDisableImplSidePainting[] = "disable-impl-side-painting"; 24 const char kDisableImplSidePainting[] = "disable-impl-side-painting";
28 25
29 // Paint content on the compositor thread instead of the main thread. 26 // Paint content on the compositor thread instead of the main thread.
30 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; 27 const char kEnableImplSidePainting[] = "enable-impl-side-painting";
31 28
32 // Try to finish display pipeline before vsync tick 29 // Try to finish display pipeline before vsync tick
33 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling"; 30 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling";
34 31
(...skipping 24 matching lines...) Expand all
59 56
60 // Re-rasters everything multiple times to simulate a much slower machine. 57 // Re-rasters everything multiple times to simulate a much slower machine.
61 // Give a scale factor to cause raster to take that many times longer to 58 // Give a scale factor to cause raster to take that many times longer to
62 // complete, such as --slow-down-raster-scale-factor=25. 59 // complete, such as --slow-down-raster-scale-factor=25.
63 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; 60 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor";
64 61
65 // Disable scheduling of rasterization jobs according to their estimated 62 // Disable scheduling of rasterization jobs according to their estimated
66 // processing cost. 63 // processing cost.
67 const char kDisableCheapnessEstimator[] = "disable-cheapness-estimator"; 64 const char kDisableCheapnessEstimator[] = "disable-cheapness-estimator";
68 65
66 // Predict whether the tile will be either solid color or transparent.
67 const char kUseColorEstimator[] = "use-color-estimator";
68
69 // The scale factor for low resolution tile contents. 69 // The scale factor for low resolution tile contents.
70 const char kLowResolutionContentsScaleFactor[] = 70 const char kLowResolutionContentsScaleFactor[] =
71 "low-resolution-contents-scale-factor"; 71 "low-resolution-contents-scale-factor";
72 72
73 // Causes the compositor to render to textures which are then sent to the parent 73 // Causes the compositor to render to textures which are then sent to the parent
74 // through the texture mailbox mechanism. 74 // through the texture mailbox mechanism.
75 // Requires --enable-compositor-frame-message. 75 // Requires --enable-compositor-frame-message.
76 const char kCompositeToMailbox[] = "composite-to-mailbox"; 76 const char kCompositeToMailbox[] = "composite-to-mailbox";
77 77
78 const char kEnablePartialSwap[] = "enable-partial-swap"; 78 const char kEnablePartialSwap[] = "enable-partial-swap";
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 #if defined(OS_ANDROID) 136 #if defined(OS_ANDROID)
137 return true; 137 return true;
138 #else 138 #else
139 return false; 139 return false;
140 #endif 140 #endif
141 } 141 }
142 142
143 } // namespace switches 143 } // namespace switches
144 } // namespace cc 144 } // namespace cc
OLDNEW
« no previous file with comments | « trunk/src/cc/base/switches.h ('k') | trunk/src/chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698