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

Side by Side Diff: cc/switches.cc

Issue 11366212: cc: Add command line flags for the various show rect debugging features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
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/switches.h" 5 #include "cc/switches.h"
6 6
7 namespace cc { 7 namespace cc {
8 namespace switches { 8 namespace switches {
9 9
10 // On platforms where checkerboards are used, prefer background colors instead 10 // On platforms where checkerboards are used, prefer background colors instead
(...skipping 11 matching lines...) Expand all
22 // compositor. 22 // compositor.
23 const char kEnablePinchInCompositor[] = "enable-pinch-in-compositor"; 23 const char kEnablePinchInCompositor[] = "enable-pinch-in-compositor";
24 24
25 // Paint content on the compositor thread instead of the main thread. 25 // Paint content on the compositor thread instead of the main thread.
26 const char kImplSidePainting[] = "impl-side-painting"; 26 const char kImplSidePainting[] = "impl-side-painting";
27 27
28 // When threaded compositing is turned on, wait until the entire frame has 28 // When threaded compositing is turned on, wait until the entire frame has
29 // content (i.e. jank) instead of showing checkerboards for missing content. 29 // content (i.e. jank) instead of showing checkerboards for missing content.
30 const char kJankInsteadOfCheckerboard[] = "jank-instead-of-checkerboard"; 30 const char kJankInsteadOfCheckerboard[] = "jank-instead-of-checkerboard";
31 31
32 // Show rects in the HUD around layers whose properties have changed.
33 const char kShowPropertyChangedRects[] = "show-property-changed-rects";
34
35 // Show rects in the HUD around damage as it is recorded into each render
36 // surface.
37 const char kShowSurfaceDamageRects[] = "show-surface-damage-rects";
38
39 // Show rects in the HUD around the screen-space transformed bounds of every
40 // layer.
41 const char kShowScreenSpaceRects[] = "show-screenspace-rects";
42
43 // Show rects in the HUD around the screen-space transformed bounds of every
44 // layer's replica, when they have one.
45 const char kShowReplicaScreenSpaceRects[] = "show-replica-screenspace-rects";
46
47 // Show rects in the HUD wherever something is known to be drawn opaque and is
48 // considered occluding the pixels behind it.
49 const char kShowOccludingRects[] = "show-occluding-rects";
50
32 // Show metrics about overdraw in about:tracing recordings, such as the number 51 // Show metrics about overdraw in about:tracing recordings, such as the number
33 // of pixels culled, and the number of pixels drawn, for each frame. 52 // of pixels culled, and the number of pixels drawn, for each frame.
34 const char kTraceOverdraw[] = "trace-overdraw"; 53 const char kTraceOverdraw[] = "trace-overdraw";
35 54
36 } // namespace switches 55 } // namespace switches
37 } // namespace cc 56 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698