| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport"; | 53 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport"; |
| 54 | 54 |
| 55 // Ensures that the draw properties computed via the property trees match those | 55 // Ensures that the draw properties computed via the property trees match those |
| 56 // computed by CalcDrawProperties. | 56 // computed by CalcDrawProperties. |
| 57 const char kEnablePropertyTreeVerification[] = | 57 const char kEnablePropertyTreeVerification[] = |
| 58 "enable-property-tree-verification"; | 58 "enable-property-tree-verification"; |
| 59 | 59 |
| 60 // Disable partial swap which is needed for some OpenGL drivers / emulators. | 60 // Disable partial swap which is needed for some OpenGL drivers / emulators. |
| 61 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; | 61 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; |
| 62 | 62 |
| 63 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
| 64 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 65 |
| 63 // Enables the GPU benchmarking extension | 66 // Enables the GPU benchmarking extension |
| 64 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 67 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| 65 | 68 |
| 66 // Renders a border around compositor layers to help debug and study | 69 // Renders a border around compositor layers to help debug and study |
| 67 // layer compositing. | 70 // layer compositing. |
| 68 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 71 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 69 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 72 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
| 70 | 73 |
| 71 // Draws a heads-up-display showing Frames Per Second as well as GPU memory | 74 // Draws a heads-up-display showing Frames Per Second as well as GPU memory |
| 72 // usage. If you also use --vmodule="head*=1" then FPS will also be output to | 75 // usage. If you also use --vmodule="head*=1" then FPS will also be output to |
| (...skipping 26 matching lines...) Expand all Loading... |
| 99 "ui-show-replica-screenspace-rects"; | 102 "ui-show-replica-screenspace-rects"; |
| 100 | 103 |
| 101 // Prevents the layer tree unit tests from timing out. | 104 // Prevents the layer tree unit tests from timing out. |
| 102 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 105 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 103 | 106 |
| 104 // Makes pixel tests write their output instead of read it. | 107 // Makes pixel tests write their output instead of read it. |
| 105 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 108 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 106 | 109 |
| 107 } // namespace switches | 110 } // namespace switches |
| 108 } // namespace cc | 111 } // namespace cc |
| OLD | NEW |