| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 // Compress tile textures for GPUs supporting it. | 43 // Compress tile textures for GPUs supporting it. |
| 44 const char kEnableTileCompression[] = "enable-tile-compression"; | 44 const char kEnableTileCompression[] = "enable-tile-compression"; |
| 45 | 45 |
| 46 // Convert rasterization and compositing inputs to the output color space | 46 // Convert rasterization and compositing inputs to the output color space |
| 47 // before operating on them. | 47 // before operating on them. |
| 48 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; | 48 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; |
| 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 // Force all rasterization and compositing to be done in linear color space, | |
| 54 // with physically correct blending and interpolation. | |
| 55 const char kEnableTrueColorRendering[] = "enable-true-color-rendering"; | |
| 56 | |
| 57 // Enables multi-client Surface synchronization. In practice, this indicates | 53 // Enables multi-client Surface synchronization. In practice, this indicates |
| 58 // that LayerTreeHost expects to be given a valid LocalSurfaceId provided by | 54 // that LayerTreeHost expects to be given a valid LocalSurfaceId provided by |
| 59 // the parent compositor. | 55 // the parent compositor. |
| 60 const char kEnableSurfaceSynchronization[] = "enable-surface-synchronization"; | 56 const char kEnableSurfaceSynchronization[] = "enable-surface-synchronization"; |
| 61 | 57 |
| 62 // Renders a border around compositor layers to help debug and study | 58 // Renders a border around compositor layers to help debug and study |
| 63 // layer compositing. | 59 // layer compositing. |
| 64 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 60 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 65 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 61 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
| 66 | 62 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 109 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 114 | 110 |
| 115 // Increases timeout for memory checkers. | 111 // Increases timeout for memory checkers. |
| 116 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; | 112 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; |
| 117 | 113 |
| 118 // Makes pixel tests write their output instead of read it. | 114 // Makes pixel tests write their output instead of read it. |
| 119 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 115 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 120 | 116 |
| 121 } // namespace switches | 117 } // namespace switches |
| 122 } // namespace cc | 118 } // namespace cc |
| OLD | NEW |