| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // Enables multi-client Surface synchronization. In practice, this indicates | 53 // Enables multi-client Surface synchronization. In practice, this indicates |
| 54 // that LayerTreeHost expects to be given a valid LocalSurfaceId provided by | 54 // that LayerTreeHost expects to be given a valid LocalSurfaceId provided by |
| 55 // the parent compositor. | 55 // the parent compositor. |
| 56 const char kEnableSurfaceSynchronization[] = "enable-surface-synchronization"; | 56 const char kEnableSurfaceSynchronization[] = "enable-surface-synchronization"; |
| 57 | 57 |
| 58 // Use MojoCompositorFrameSink for submitting CompositorFrames from renderer to |
| 59 // browser. |
| 60 const char kUseMojoCompositorFrameSink[] = "use-mojo-compositor-frame-sink"; |
| 61 |
| 58 // Renders a border around compositor layers to help debug and study | 62 // Renders a border around compositor layers to help debug and study |
| 59 // layer compositing. | 63 // layer compositing. |
| 60 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 64 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 61 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 65 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
| 62 | 66 |
| 63 // Renders a green border around GL composited texture quads to help | 67 // Renders a green border around GL composited texture quads to help |
| 64 // debug and study overlay support. | 68 // debug and study overlay support. |
| 65 const char kGlCompositedTextureQuadBorder[] = | 69 const char kGlCompositedTextureQuadBorder[] = |
| 66 "gl-composited-texture-quad-border"; | 70 "gl-composited-texture-quad-border"; |
| 67 | 71 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 113 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 110 | 114 |
| 111 // Increases timeout for memory checkers. | 115 // Increases timeout for memory checkers. |
| 112 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; | 116 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; |
| 113 | 117 |
| 114 // Makes pixel tests write their output instead of read it. | 118 // Makes pixel tests write their output instead of read it. |
| 115 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 119 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 116 | 120 |
| 117 } // namespace switches | 121 } // namespace switches |
| 118 } // namespace cc | 122 } // namespace cc |
| OLD | NEW |