| 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 // Enable color space aware rasterization and compositing. |
| 48 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; |
| 49 |
| 47 // Enables the GPU benchmarking extension | 50 // Enables the GPU benchmarking extension |
| 48 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 51 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| 49 | 52 |
| 50 // Renders a border around compositor layers to help debug and study | 53 // Renders a border around compositor layers to help debug and study |
| 51 // layer compositing. | 54 // layer compositing. |
| 52 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 55 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 53 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 56 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
| 54 | 57 |
| 55 // Renders a green border around GL composited texture quads to help | 58 // Renders a green border around GL composited texture quads to help |
| 56 // debug and study overlay support. | 59 // debug and study overlay support. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 98 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 96 | 99 |
| 97 // Increases timeout for memory checkers. | 100 // Increases timeout for memory checkers. |
| 98 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; | 101 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; |
| 99 | 102 |
| 100 // Makes pixel tests write their output instead of read it. | 103 // Makes pixel tests write their output instead of read it. |
| 101 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 104 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 102 | 105 |
| 103 } // namespace switches | 106 } // namespace switches |
| 104 } // namespace cc | 107 } // namespace cc |
| OLD | NEW |