| 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/switches.h" | 5 #include "cc/switches.h" |
| 6 | 6 |
| 7 namespace cc { | 7 namespace cc { |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // When threaded compositing is turned on, wait until the entire frame has | |
| 11 // content (i.e. jank) instead of showing checkerboards for missing content. | |
| 12 const char kJankInsteadOfCheckerboard[] = "jank-instead-of-checkerboard"; | |
| 13 | |
| 14 // On platforms where checkerboards are used, prefer background colors instead | 10 // On platforms where checkerboards are used, prefer background colors instead |
| 15 // of checkerboards. | 11 // of checkerboards. |
| 16 const char kBackgroundColorInsteadOfCheckerboard[] = | 12 const char kBackgroundColorInsteadOfCheckerboard[] = |
| 17 "background-color-instead-of-checkerboard"; | 13 "background-color-instead-of-checkerboard"; |
| 18 | 14 |
| 15 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; |
| 16 |
| 17 const char kEnablePartialSwap[] = "enable-partial-swap"; |
| 18 |
| 19 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
| 20 |
| 21 // Enables an alternative pinch-zoom gesture support, via the threaded |
| 22 // compositor. |
| 23 const char kEnablePinchInCompositor[] = "enable-pinch-in-compositor"; |
| 24 |
| 25 // When threaded compositing is turned on, wait until the entire frame has |
| 26 // content (i.e. jank) instead of showing checkerboards for missing content. |
| 27 const char kJankInsteadOfCheckerboard[] = "jank-instead-of-checkerboard"; |
| 28 |
| 19 } // namespace switches | 29 } // namespace switches |
| 20 } // namespace cc | 30 } // namespace cc |
| OLD | NEW |