| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // Renders a border around compositor layers to help debug and study | 58 // Renders a border around compositor layers to help debug and study |
| 59 // layer compositing. | 59 // layer compositing. |
| 60 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 60 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 61 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 61 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
| 62 const char kCompositedRenderPassBorders[] = "renderpass"; |
| 63 const char kCompositedSurfaceBorders[] = "surface"; |
| 64 const char kCompositedLayerBorders[] = "layer"; |
| 62 | 65 |
| 63 // Renders a green border around GL composited texture quads to help | 66 // Renders a green border around GL composited texture quads to help |
| 64 // debug and study overlay support. | 67 // debug and study overlay support. |
| 65 const char kGlCompositedTextureQuadBorder[] = | 68 const char kGlCompositedTextureQuadBorder[] = |
| 66 "gl-composited-texture-quad-border"; | 69 "gl-composited-texture-quad-border"; |
| 67 | 70 |
| 68 // Draws a heads-up-display showing Frames Per Second as well as GPU memory | 71 // Draws a heads-up-display showing Frames Per Second as well as GPU memory |
| 69 // usage. If you also use --enable-logging=stderr --vmodule="head*=1" then FPS | 72 // usage. If you also use --enable-logging=stderr --vmodule="head*=1" then FPS |
| 70 // will also be output to the console log. | 73 // will also be output to the console log. |
| 71 const char kShowFPSCounter[] = "show-fps-counter"; | 74 const char kShowFPSCounter[] = "show-fps-counter"; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 112 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 110 | 113 |
| 111 // Increases timeout for memory checkers. | 114 // Increases timeout for memory checkers. |
| 112 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; | 115 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; |
| 113 | 116 |
| 114 // Makes pixel tests write their output instead of read it. | 117 // Makes pixel tests write their output instead of read it. |
| 115 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 118 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 116 | 119 |
| 117 } // namespace switches | 120 } // namespace switches |
| 118 } // namespace cc | 121 } // namespace cc |
| OLD | NEW |