Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: cc/base/switches.cc

Issue 13939005: cc: Add strict layer property change checking and handle bounds changes during paint. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 94
91 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 95 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
92 const char kUIEnablePerTilePainting[] = "ui-enable-per-tile-painting"; 96 const char kUIEnablePerTilePainting[] = "ui-enable-per-tile-painting";
93 97
94 // Renders a border around compositor layers to help debug and study 98 // Renders a border around compositor layers to help debug and study
95 // layer compositing. 99 // layer compositing.
96 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 100 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
97 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; 101 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders";
98 102
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 149
146 #if defined(OS_ANDROID) 150 #if defined(OS_ANDROID)
147 return true; 151 return true;
148 #else 152 #else
149 return false; 153 return false;
150 #endif 154 #endif
151 } 155 }
152 156
153 } // namespace switches 157 } // namespace switches
154 } // namespace cc 158 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/layers/layer.h » ('j') | cc/layers/layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698