| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 // Re-rasters everything multiple times to simulate a much slower machine. | 39 // Re-rasters everything multiple times to simulate a much slower machine. |
| 40 // Give a scale factor to cause raster to take that many times longer to | 40 // Give a scale factor to cause raster to take that many times longer to |
| 41 // complete, such as --slow-down-raster-scale-factor=25. | 41 // complete, such as --slow-down-raster-scale-factor=25. |
| 42 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; | 42 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; |
| 43 | 43 |
| 44 // Check that property changes during paint do not occur. | 44 // Check that property changes during paint do not occur. |
| 45 const char kStrictLayerPropertyChangeChecking[] = | 45 const char kStrictLayerPropertyChangeChecking[] = |
| 46 "strict-layer-property-change-checking"; | 46 "strict-layer-property-change-checking"; |
| 47 | 47 |
| 48 // Compress tile textures for GPUs supporting it. |
| 49 const char kEnableTileCompression[] = "enable-tile-compression"; |
| 50 |
| 48 // Use a BeginFrame signal from browser to renderer to schedule rendering. | 51 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
| 49 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 52 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 50 | 53 |
| 51 // Enables the GPU benchmarking extension | 54 // Enables the GPU benchmarking extension |
| 52 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 55 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| 53 | 56 |
| 54 // Renders a border around compositor layers to help debug and study | 57 // Renders a border around compositor layers to help debug and study |
| 55 // layer compositing. | 58 // layer compositing. |
| 56 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 59 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 57 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 60 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 87 "ui-show-replica-screenspace-rects"; | 90 "ui-show-replica-screenspace-rects"; |
| 88 | 91 |
| 89 // Prevents the layer tree unit tests from timing out. | 92 // Prevents the layer tree unit tests from timing out. |
| 90 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 93 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 91 | 94 |
| 92 // Makes pixel tests write their output instead of read it. | 95 // Makes pixel tests write their output instead of read it. |
| 93 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 96 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 94 | 97 |
| 95 } // namespace switches | 98 } // namespace switches |
| 96 } // namespace cc | 99 } // namespace cc |
| OLD | NEW |