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

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

Issue 986173002: Animations: Implement runtime flag for enabling compositor animation timelines. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename command line switch (as discussed). Created 5 years, 9 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // Virtual viewport for fixed-position elements, scrollbars during pinch. 57 // Virtual viewport for fixed-position elements, scrollbars during pinch.
58 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport"; 58 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport";
59 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport"; 59 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport";
60 60
61 // Ensures that the draw properties computed via the property trees match those 61 // Ensures that the draw properties computed via the property trees match those
62 // computed by CalcDrawProperties. 62 // computed by CalcDrawProperties.
63 const char kEnablePropertyTreeVerification[] = 63 const char kEnablePropertyTreeVerification[] =
64 "enable-property-tree-verification"; 64 "enable-property-tree-verification";
65 65
66 // Enables new cc/animation system (Project Heaviside). crbug.com/394772
67 const char kEnableCompositorAnimationTimelines[] =
68 "enable-compositor-animation-timelines";
69
66 // Disable partial swap which is needed for some OpenGL drivers / emulators. 70 // Disable partial swap which is needed for some OpenGL drivers / emulators.
67 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; 71 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap";
68 72
69 // Enables the GPU benchmarking extension 73 // Enables the GPU benchmarking extension
70 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 74 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
71 75
72 // Renders a border around compositor layers to help debug and study 76 // Renders a border around compositor layers to help debug and study
73 // layer compositing. 77 // layer compositing.
74 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 78 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
75 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; 79 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders";
(...skipping 29 matching lines...) Expand all
105 "ui-show-replica-screenspace-rects"; 109 "ui-show-replica-screenspace-rects";
106 110
107 // Prevents the layer tree unit tests from timing out. 111 // Prevents the layer tree unit tests from timing out.
108 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; 112 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
109 113
110 // Makes pixel tests write their output instead of read it. 114 // Makes pixel tests write their output instead of read it.
111 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 115 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
112 116
113 } // namespace switches 117 } // namespace switches
114 } // namespace cc 118 } // namespace cc
OLDNEW
« cc/base/switches.h ('K') | « cc/base/switches.h ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698