OLD | NEW |
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/switches.h" | 5 #include "cc/switches.h" |
6 | 6 |
7 namespace cc { | 7 namespace cc { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // On platforms where checkerboards are used, prefer background colors instead | 10 // On platforms where checkerboards are used, prefer background colors instead |
11 // of checkerboards. | 11 // of checkerboards. |
12 const char kBackgroundColorInsteadOfCheckerboard[] = | 12 const char kBackgroundColorInsteadOfCheckerboard[] = |
13 "background-color-instead-of-checkerboard"; | 13 "background-color-instead-of-checkerboard"; |
14 | 14 |
15 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; | 15 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; |
16 | 16 |
17 // Send a message for every frame from the impl thread to the parent compositor. | 17 // Send a message for every frame from the impl thread to the parent compositor. |
18 const char kEnableCompositorFrameMessage[] = "enable-compositor-frame-message"; | 18 const char kEnableCompositorFrameMessage[] = "enable-compositor-frame-message"; |
19 | 19 |
| 20 // Paint content on the main thread instead of the compositor thread. |
| 21 const char kDisableImplSidePainting[] = "disable-impl-side-painting"; |
| 22 |
20 // Paint content on the compositor thread instead of the main thread. | 23 // Paint content on the compositor thread instead of the main thread. |
21 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; | 24 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; |
22 | 25 |
23 const char kEnablePartialSwap[] = "enable-partial-swap"; | 26 const char kEnablePartialSwap[] = "enable-partial-swap"; |
24 | 27 |
25 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 28 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
26 | 29 |
27 // Try to finish display pipeline before vsync tick | 30 // Try to finish display pipeline before vsync tick |
28 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling"; | 31 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling"; |
29 | 32 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // Re-rasters everything multiple times to simulate a much slower machine. | 69 // Re-rasters everything multiple times to simulate a much slower machine. |
67 // Give a scale factor to cause raster to take that many times longer to | 70 // Give a scale factor to cause raster to take that many times longer to |
68 // complete, such as --slow-down-raster-scale-factor=25. | 71 // complete, such as --slow-down-raster-scale-factor=25. |
69 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; | 72 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; |
70 | 73 |
71 // Schedule rasterization jobs according to their estimated processing cost. | 74 // Schedule rasterization jobs according to their estimated processing cost. |
72 const char kUseCheapnessEstimator[] = "use-cheapness-estimator"; | 75 const char kUseCheapnessEstimator[] = "use-cheapness-estimator"; |
73 | 76 |
74 } // namespace switches | 77 } // namespace switches |
75 } // namespace cc | 78 } // namespace cc |
OLD | NEW |