summaryrefslogtreecommitdiffstats
path: root/cc/switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/switches.cc')
-rw-r--r--cc/switches.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/cc/switches.cc b/cc/switches.cc
index be81100..5302ade 100644
--- a/cc/switches.cc
+++ b/cc/switches.cc
@@ -29,6 +29,25 @@ const char kImplSidePainting[] = "impl-side-painting";
// content (i.e. jank) instead of showing checkerboards for missing content.
const char kJankInsteadOfCheckerboard[] = "jank-instead-of-checkerboard";
+// Show rects in the HUD around layers whose properties have changed.
+const char kShowPropertyChangedRects[] = "show-property-changed-rects";
+
+// Show rects in the HUD around damage as it is recorded into each render
+// surface.
+const char kShowSurfaceDamageRects[] = "show-surface-damage-rects";
+
+// Show rects in the HUD around the screen-space transformed bounds of every
+// layer.
+const char kShowScreenSpaceRects[] = "show-screenspace-rects";
+
+// Show rects in the HUD around the screen-space transformed bounds of every
+// layer's replica, when they have one.
+const char kShowReplicaScreenSpaceRects[] = "show-replica-screenspace-rects";
+
+// Show rects in the HUD wherever something is known to be drawn opaque and is
+// considered occluding the pixels behind it.
+const char kShowOccludingRects[] = "show-occluding-rects";
+
// Show metrics about overdraw in about:tracing recordings, such as the number
// of pixels culled, and the number of pixels drawn, for each frame.
const char kTraceOverdraw[] = "trace-overdraw";