| 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 29 matching lines...) Expand all Loading... |
| 40 // Compress tile textures for GPUs supporting it. | 40 // Compress tile textures for GPUs supporting it. |
| 41 const char kEnableTileCompression[] = "enable-tile-compression"; | 41 const char kEnableTileCompression[] = "enable-tile-compression"; |
| 42 | 42 |
| 43 // Convert rasterization and compositing inputs to the output color space | 43 // Convert rasterization and compositing inputs to the output color space |
| 44 // before operating on them. | 44 // before operating on them. |
| 45 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; | 45 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; |
| 46 | 46 |
| 47 // Enables the GPU benchmarking extension | 47 // Enables the GPU benchmarking extension |
| 48 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 48 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| 49 | 49 |
| 50 // Enables the different tiling iterator. For better iteration order of odd |
| 51 // sized tiles, i.e. tiles not having aspect ratio 1, specify |
| 52 // "--tiling-iterator=pyramid-sequence". |
| 53 const char kTilingIterator[] = "tiling-iterator"; |
| 54 |
| 50 // Force all rasterization and compositing to be done in linear color space, | 55 // Force all rasterization and compositing to be done in linear color space, |
| 51 // with physically correct blending and interpolation. | 56 // with physically correct blending and interpolation. |
| 52 const char kEnableTrueColorRendering[] = "enable-true-color-rendering"; | 57 const char kEnableTrueColorRendering[] = "enable-true-color-rendering"; |
| 53 | 58 |
| 54 // Enables CHECKs to ensure that tile priorities are not inverted. | 59 // Enables CHECKs to ensure that tile priorities are not inverted. |
| 55 const char kCheckTilePriorityInversion[] = "check-tile-priority-inversion"; | 60 const char kCheckTilePriorityInversion[] = "check-tile-priority-inversion"; |
| 56 | 61 |
| 57 // Renders a border around compositor layers to help debug and study | 62 // Renders a border around compositor layers to help debug and study |
| 58 // layer compositing. | 63 // layer compositing. |
| 59 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 64 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 113 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 109 | 114 |
| 110 // Increases timeout for memory checkers. | 115 // Increases timeout for memory checkers. |
| 111 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; | 116 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; |
| 112 | 117 |
| 113 // Makes pixel tests write their output instead of read it. | 118 // Makes pixel tests write their output instead of read it. |
| 114 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 119 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 115 | 120 |
| 116 } // namespace switches | 121 } // namespace switches |
| 117 } // namespace cc | 122 } // namespace cc |
| OLD | NEW |