| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 // Compress tile textures for GPUs supporting it. | 46 // Compress tile textures for GPUs supporting it. |
| 47 const char kEnableTileCompression[] = "enable-tile-compression"; | 47 const char kEnableTileCompression[] = "enable-tile-compression"; |
| 48 | 48 |
| 49 // Enable color space aware rasterization and compositing. | 49 // Enable color space aware rasterization and compositing. |
| 50 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; | 50 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; |
| 51 | 51 |
| 52 // Enables the GPU benchmarking extension | 52 // Enables the GPU benchmarking extension |
| 53 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 53 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| 54 | 54 |
| 55 // Enables the different tiling iterator. For better iteration order of odd |
| 56 // sized tiles, i.e. tiles not having aspect ratio 1, specify |
| 57 // "--tiling-iterator=pyramid-sequence". |
| 58 const char kTilingIterator[] = "tiling-iterator"; |
| 59 |
| 55 // Renders a border around compositor layers to help debug and study | 60 // Renders a border around compositor layers to help debug and study |
| 56 // layer compositing. | 61 // layer compositing. |
| 57 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 62 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 58 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 63 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
| 59 | 64 |
| 60 // Renders a green border around GL composited texture quads to help | 65 // Renders a green border around GL composited texture quads to help |
| 61 // debug and study overlay support. | 66 // debug and study overlay support. |
| 62 const char kGlCompositedTextureQuadBorder[] = | 67 const char kGlCompositedTextureQuadBorder[] = |
| 63 "gl-composited-texture-quad-border"; | 68 "gl-composited-texture-quad-border"; |
| 64 | 69 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 94 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 99 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 95 | 100 |
| 96 // Increases timeout for memory checkers. | 101 // Increases timeout for memory checkers. |
| 97 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; | 102 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; |
| 98 | 103 |
| 99 // Makes pixel tests write their output instead of read it. | 104 // Makes pixel tests write their output instead of read it. |
| 100 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 105 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 101 | 106 |
| 102 } // namespace switches | 107 } // namespace switches |
| 103 } // namespace cc | 108 } // namespace cc |
| OLD | NEW |