| 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 26 matching lines...) Expand all Loading... |
| 37 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; | 37 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; |
| 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 // Compress tile textures for GPUs supporting it. | 44 // Compress tile textures for GPUs supporting it. |
| 45 const char kEnableTileCompression[] = "enable-tile-compression"; | 45 const char kEnableTileCompression[] = "enable-tile-compression"; |
| 46 | 46 |
| 47 // Use a BeginFrame signal from browser to renderer to schedule rendering. | 47 // Disable the BeginFrame signal from browser to renderer to schedule rendering. |
| 48 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 48 const char kDisableBeginFrameScheduling[] = "disable-begin-frame-scheduling"; |
| 49 | 49 |
| 50 // Enables the GPU benchmarking extension | 50 // Enables the GPU benchmarking extension |
| 51 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 51 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| 52 | 52 |
| 53 // Renders a border around compositor layers to help debug and study | 53 // Renders a border around compositor layers to help debug and study |
| 54 // layer compositing. | 54 // layer compositing. |
| 55 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 55 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 56 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 56 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
| 57 | 57 |
| 58 // Draws a heads-up-display showing Frames Per Second as well as GPU memory | 58 // Draws a heads-up-display showing Frames Per Second as well as GPU memory |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 93 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 94 | 94 |
| 95 // Increases timeout for memory checkers. | 95 // Increases timeout for memory checkers. |
| 96 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; | 96 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; |
| 97 | 97 |
| 98 // Makes pixel tests write their output instead of read it. | 98 // Makes pixel tests write their output instead of read it. |
| 99 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 99 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 100 | 100 |
| 101 } // namespace switches | 101 } // namespace switches |
| 102 } // namespace cc | 102 } // namespace cc |
| OLD | NEW |