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

Unified Diff: cc/switches.cc

Issue 11369188: cc: Guard overdraw metrics behind the --trace-overdraw command-line flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renderflags 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/switches.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/switches.cc
diff --git a/cc/switches.cc b/cc/switches.cc
index 2214c3dba4226654ea42aa8cd8559b41bb976693..be8110025a66c73fc695d4523edd4ddeb28b79e0 100644
--- a/cc/switches.cc
+++ b/cc/switches.cc
@@ -22,12 +22,16 @@ const char kEnablePerTilePainting[] = "enable-per-tile-painting";
// compositor.
const char kEnablePinchInCompositor[] = "enable-pinch-in-compositor";
+// Paint content on the compositor thread instead of the main thread.
+const char kImplSidePainting[] = "impl-side-painting";
+
// When threaded compositing is turned on, wait until the entire frame has
// content (i.e. jank) instead of showing checkerboards for missing content.
const char kJankInsteadOfCheckerboard[] = "jank-instead-of-checkerboard";
-// Paint content on the compositor thread instead of the main thread.
-const char kImplSidePainting[] = "impl-side-painting";
+// 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";
} // namespace switches
} // namespace cc
« no previous file with comments | « cc/switches.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698