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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 // Causes overlay scrollbars to appear when zoomed in ChromeOS/Windows. | 80 // Causes overlay scrollbars to appear when zoomed in ChromeOS/Windows. |
81 const char kEnablePinchZoomScrollbars[] = "enable-pinch-zoom-scrollbars"; | 81 const char kEnablePinchZoomScrollbars[] = "enable-pinch-zoom-scrollbars"; |
82 const char kDisablePinchZoomScrollbars[] = "disable-pinch-zoom-scrollbars"; | 82 const char kDisablePinchZoomScrollbars[] = "disable-pinch-zoom-scrollbars"; |
83 | 83 |
84 // Causes the compositor to render to textures which are then sent to the parent | 84 // Causes the compositor to render to textures which are then sent to the parent |
85 // through the texture mailbox mechanism. | 85 // through the texture mailbox mechanism. |
86 // Requires --enable-compositor-frame-message. | 86 // Requires --enable-compositor-frame-message. |
87 const char kCompositeToMailbox[] = "composite-to-mailbox"; | 87 const char kCompositeToMailbox[] = "composite-to-mailbox"; |
88 | 88 |
| 89 // Check that property changes during paint do not occur. |
| 90 const char kStrictLayerPropertyChangeChecking[] = |
| 91 "strict-layer-property-change-checking"; |
| 92 |
89 const char kEnablePartialSwap[] = "enable-partial-swap"; | 93 const char kEnablePartialSwap[] = "enable-partial-swap"; |
90 // Disable partial swap which is needed for some OpenGL drivers / emulators. | 94 // Disable partial swap which is needed for some OpenGL drivers / emulators. |
91 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; | 95 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; |
92 | 96 |
93 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 97 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
94 const char kUIEnablePerTilePainting[] = "ui-enable-per-tile-painting"; | 98 const char kUIEnablePerTilePainting[] = "ui-enable-per-tile-painting"; |
95 | 99 |
96 // Renders a border around compositor layers to help debug and study | 100 // Renders a border around compositor layers to help debug and study |
97 // layer compositing. | 101 // layer compositing. |
98 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 102 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 | 151 |
148 #if defined(OS_ANDROID) | 152 #if defined(OS_ANDROID) |
149 return true; | 153 return true; |
150 #else | 154 #else |
151 return false; | 155 return false; |
152 #endif | 156 #endif |
153 } | 157 } |
154 | 158 |
155 } // namespace switches | 159 } // namespace switches |
156 } // namespace cc | 160 } // namespace cc |
OLD | NEW |