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

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

Issue 195803003: cc: Remove OverdrawMetrics and --trace-overdraw flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-overdraw: switches Created 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/base/switches.h ('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 {
11 11
12 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; 12 const char kDisableThreadedAnimation[] = "disable-threaded-animation";
13 13
14 // Disables layer-edge anti-aliasing in the compositor. 14 // Disables layer-edge anti-aliasing in the compositor.
15 const char kDisableCompositedAntialiasing[] = 15 const char kDisableCompositedAntialiasing[] =
16 "disable-composited-antialiasing"; 16 "disable-composited-antialiasing";
17 17
18 const char kEnableTopControlsPositionCalculation[] = 18 const char kEnableTopControlsPositionCalculation[] =
19 "enable-top-controls-position-calculation"; 19 "enable-top-controls-position-calculation";
20 20
21 // The height of the movable top controls. 21 // The height of the movable top controls.
22 const char kTopControlsHeight[] = "top-controls-height"; 22 const char kTopControlsHeight[] = "top-controls-height";
23 23
24 // Percentage of the top controls need to be hidden before they will auto hide. 24 // Percentage of the top controls need to be hidden before they will auto hide.
25 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; 25 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold";
26 26
27 // Percentage of the top controls need to be shown before they will auto show. 27 // Percentage of the top controls need to be shown before they will auto show.
28 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; 28 const char kTopControlsShowThreshold[] = "top-controls-show-threshold";
29 29
30 // Show metrics about overdraw in about:tracing recordings, such as the number
31 // of pixels culled, and the number of pixels drawn, for each frame.
32 const char kTraceOverdraw[] = "trace-overdraw";
33
34 // Re-rasters everything multiple times to simulate a much slower machine. 30 // Re-rasters everything multiple times to simulate a much slower machine.
35 // Give a scale factor to cause raster to take that many times longer to 31 // Give a scale factor to cause raster to take that many times longer to
36 // complete, such as --slow-down-raster-scale-factor=25. 32 // complete, such as --slow-down-raster-scale-factor=25.
37 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; 33 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor";
38 34
39 // Max tiles allowed for each tilings interest area. 35 // Max tiles allowed for each tilings interest area.
40 const char kMaxTilesForInterestArea[] = "max-tiles-for-interest-area"; 36 const char kMaxTilesForInterestArea[] = "max-tiles-for-interest-area";
41 37
42 // The amount of unused resource memory compositor is allowed to keep around. 38 // The amount of unused resource memory compositor is allowed to keep around.
43 const char kMaxUnusedResourceMemoryUsagePercentage[] = 39 const char kMaxUnusedResourceMemoryUsagePercentage[] =
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 108
113 // Disable textures using RGBA_4444 layout. 109 // Disable textures using RGBA_4444 layout.
114 const char kDisable4444Textures[] = "disable-4444-textures"; 110 const char kDisable4444Textures[] = "disable-4444-textures";
115 111
116 // Disable touch hit testing in the compositor. 112 // Disable touch hit testing in the compositor.
117 const char kDisableCompositorTouchHitTesting[] = 113 const char kDisableCompositorTouchHitTesting[] =
118 "disable-compositor-touch-hit-testing"; 114 "disable-compositor-touch-hit-testing";
119 115
120 } // namespace switches 116 } // namespace switches
121 } // namespace cc 117 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698