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

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

Issue 918633003: Add a telemetry measurement for property tree performance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const char kCompositeToMailbox[] = "composite-to-mailbox"; 51 const char kCompositeToMailbox[] = "composite-to-mailbox";
52 52
53 // Check that property changes during paint do not occur. 53 // Check that property changes during paint do not occur.
54 const char kStrictLayerPropertyChangeChecking[] = 54 const char kStrictLayerPropertyChangeChecking[] =
55 "strict-layer-property-change-checking"; 55 "strict-layer-property-change-checking";
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 math those
62 // computed by CalcDrawProperties.
63 const char kEnablePropertyTreeVerification[] =
64 "enable-property-tree-verification";
65
61 // Disable partial swap which is needed for some OpenGL drivers / emulators. 66 // Disable partial swap which is needed for some OpenGL drivers / emulators.
62 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; 67 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap";
63 68
64 // Enables the GPU benchmarking extension 69 // Enables the GPU benchmarking extension
65 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 70 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
66 71
67 // Renders a border around compositor layers to help debug and study 72 // Renders a border around compositor layers to help debug and study
68 // layer compositing. 73 // layer compositing.
69 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 74 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
70 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; 75 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders";
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects"; 115 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects";
111 116
112 // Prevents the layer tree unit tests from timing out. 117 // Prevents the layer tree unit tests from timing out.
113 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; 118 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
114 119
115 // Makes pixel tests write their output instead of read it. 120 // Makes pixel tests write their output instead of read it.
116 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 121 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
117 122
118 } // namespace switches 123 } // namespace switches
119 } // namespace cc 124 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698