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/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 { |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 // Percentage of the top controls need to be shown before they will auto show. | 30 // Percentage of the top controls need to be shown before they will auto show. |
31 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; | 31 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; |
32 | 32 |
33 // Re-rasters everything multiple times to simulate a much slower machine. | 33 // Re-rasters everything multiple times to simulate a much slower machine. |
34 // Give a scale factor to cause raster to take that many times longer to | 34 // Give a scale factor to cause raster to take that many times longer to |
35 // complete, such as --slow-down-raster-scale-factor=25. | 35 // complete, such as --slow-down-raster-scale-factor=25. |
36 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; | 36 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; |
37 | 37 |
38 // Max tiles allowed for each tilings interest area. | 38 // Max tiles allowed for each tilings interest area. |
39 const char kMaxTilesForInterestArea[] = "max-tiles-for-interest-area"; | 39 const char kTilingInterestAreaViewportMultiplier[] = |
| 40 "tiling-interest-area-viewport-multiplier"; |
40 | 41 |
41 // The amount of unused resource memory compositor is allowed to keep around. | 42 // The amount of unused resource memory compositor is allowed to keep around. |
42 const char kMaxUnusedResourceMemoryUsagePercentage[] = | 43 const char kMaxUnusedResourceMemoryUsagePercentage[] = |
43 "max-unused-resource-memory-usage-percentage"; | 44 "max-unused-resource-memory-usage-percentage"; |
44 | 45 |
45 // Causes the compositor to render to textures which are then sent to the parent | 46 // Causes the compositor to render to textures which are then sent to the parent |
46 // through the texture mailbox mechanism. | 47 // through the texture mailbox mechanism. |
47 // Requires --enable-compositor-frame-message. | 48 // Requires --enable-compositor-frame-message. |
48 const char kCompositeToMailbox[] = "composite-to-mailbox"; | 49 const char kCompositeToMailbox[] = "composite-to-mailbox"; |
49 | 50 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 "ui-show-replica-screenspace-rects"; | 103 "ui-show-replica-screenspace-rects"; |
103 | 104 |
104 // Prevents the layer tree unit tests from timing out. | 105 // Prevents the layer tree unit tests from timing out. |
105 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 106 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
106 | 107 |
107 // Makes pixel tests write their output instead of read it. | 108 // Makes pixel tests write their output instead of read it. |
108 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 109 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
109 | 110 |
110 } // namespace switches | 111 } // namespace switches |
111 } // namespace cc | 112 } // namespace cc |
OLD | NEW |