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

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

Issue 2960933002: tools/benchmarks: Fix failures in image decoding measurements. (Closed)
Patch Set: .. Created 3 years, 5 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
« no previous file with comments | « cc/base/switches.h ('k') | content/browser/gpu/compositor_util.cc » ('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 // Disables sending the next BeginMainFrame before the previous commit 18 // Disables sending the next BeginMainFrame before the previous commit
19 // activates. Overrides the kEnableMainFrameBeforeActivation flag. 19 // activates. Overrides the kEnableMainFrameBeforeActivation flag.
20 const char kDisableMainFrameBeforeActivation[] = 20 const char kDisableMainFrameBeforeActivation[] =
21 "disable-main-frame-before-activation"; 21 "disable-main-frame-before-activation";
22 22
23 // Enables sending the next BeginMainFrame before the previous commit activates. 23 // Enables sending the next BeginMainFrame before the previous commit activates.
24 const char kEnableMainFrameBeforeActivation[] = 24 const char kEnableMainFrameBeforeActivation[] =
25 "enable-main-frame-before-activation"; 25 "enable-main-frame-before-activation";
26 26
27 // Enables defering image decodes to the image decode service. 27 // Enables defering image decodes to the image decode service.
28 const char kEnableCheckerImaging[] = "enable-checker-imaging"; 28 const char kEnableCheckerImaging[] = "enable-checker-imaging";
29 29
30 // Disabled defering image decodes to the image decode service.
31 const char kDisableCheckerImaging[] = "disable-checker-imaging";
32
30 // Percentage of the browser controls need to be hidden before they will auto 33 // Percentage of the browser controls need to be hidden before they will auto
31 // hide. 34 // hide.
32 const char kBrowserControlsHideThreshold[] = "top-controls-hide-threshold"; 35 const char kBrowserControlsHideThreshold[] = "top-controls-hide-threshold";
33 36
34 // Percentage of the browser controls need to be shown before they will auto 37 // Percentage of the browser controls need to be shown before they will auto
35 // show. 38 // show.
36 const char kBrowserControlsShowThreshold[] = "top-controls-show-threshold"; 39 const char kBrowserControlsShowThreshold[] = "top-controls-show-threshold";
37 40
38 // Re-rasters everything multiple times to simulate a much slower machine. 41 // Re-rasters everything multiple times to simulate a much slower machine.
39 // Give a scale factor to cause raster to take that many times longer to 42 // Give a scale factor to cause raster to take that many times longer to
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // Makes pixel tests write their output instead of read it. 116 // Makes pixel tests write their output instead of read it.
114 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 117 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
115 118
116 // Disable re-use of non-exact resources to fulfill ResourcePool requests. 119 // Disable re-use of non-exact resources to fulfill ResourcePool requests.
117 // Intended only for use in layout or pixel tests to reduce noise. 120 // Intended only for use in layout or pixel tests to reduce noise.
118 const char kDisallowNonExactResourceReuse[] = 121 const char kDisallowNonExactResourceReuse[] =
119 "disallow-non-exact-resource-reuse"; 122 "disallow-non-exact-resource-reuse";
120 123
121 } // namespace switches 124 } // namespace switches
122 } // namespace cc 125 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | content/browser/gpu/compositor_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698