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

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

Issue 706203003: Update from https://crrev.com/303153 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « cc/BUILD.gn ('k') | cc/cc.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; 65 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap";
66 66
67 // Enables the GPU benchmarking extension 67 // Enables the GPU benchmarking extension
68 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 68 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
69 69
70 // Renders a border around compositor layers to help debug and study 70 // Renders a border around compositor layers to help debug and study
71 // layer compositing. 71 // layer compositing.
72 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 72 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
73 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; 73 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders";
74 74
75 // Draws a FPS indicator 75 // Draws a heads-up-display showing Frames Per Second as well as GPU memory
76 // usage. If you also use --vmodule="head*=1" then FPS will also be output to
77 // the console log.
76 const char kShowFPSCounter[] = "show-fps-counter"; 78 const char kShowFPSCounter[] = "show-fps-counter";
77 const char kUIShowFPSCounter[] = "ui-show-fps-counter"; 79 const char kUIShowFPSCounter[] = "ui-show-fps-counter";
78 80
79 // Renders a border that represents the bounding box for the layer's animation. 81 // Renders a border that represents the bounding box for the layer's animation.
80 const char kShowLayerAnimationBounds[] = "show-layer-animation-bounds"; 82 const char kShowLayerAnimationBounds[] = "show-layer-animation-bounds";
81 const char kUIShowLayerAnimationBounds[] = "ui-show-layer-animation-bounds"; 83 const char kUIShowLayerAnimationBounds[] = "ui-show-layer-animation-bounds";
82 84
83 // Show rects in the HUD around layers whose properties have changed. 85 // Show rects in the HUD around layers whose properties have changed.
84 const char kShowPropertyChangedRects[] = "show-property-changed-rects"; 86 const char kShowPropertyChangedRects[] = "show-property-changed-rects";
85 const char kUIShowPropertyChangedRects[] = "ui-show-property-changed-rects"; 87 const char kUIShowPropertyChangedRects[] = "ui-show-property-changed-rects";
(...skipping 25 matching lines...) Expand all
111 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects"; 113 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects";
112 114
113 // Prevents the layer tree unit tests from timing out. 115 // Prevents the layer tree unit tests from timing out.
114 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; 116 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
115 117
116 // Makes pixel tests write their output instead of read it. 118 // Makes pixel tests write their output instead of read it.
117 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 119 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
118 120
119 } // namespace switches 121 } // namespace switches
120 } // namespace cc 122 } // namespace cc
OLDNEW
« no previous file with comments | « cc/BUILD.gn ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698