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

Unified Diff: cc/layer_tree_debug_state.cc

Issue 12096112: [cc] Trace detailed tile info when --trace-all-rendered-frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont expose to extension yet Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layer_tree_debug_state.h ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_debug_state.cc
diff --git a/cc/layer_tree_debug_state.cc b/cc/layer_tree_debug_state.cc
index 0f68b6a63427ac128579b2f9a473882ce43c06bc..8a0e8ae46d55ac2da70a11e1209ef8f1f6749c06 100644
--- a/cc/layer_tree_debug_state.cc
+++ b/cc/layer_tree_debug_state.cc
@@ -22,7 +22,8 @@ LayerTreeDebugState::LayerTreeDebugState()
, showOccludingRects(false)
, showNonOccludingRects(false)
, slowDownRasterScaleFactor(0)
- , m_recordRenderingStats(false) { }
+ , m_recordRenderingStats(false)
+ , traceAllRenderedFrames(false) { }
LayerTreeDebugState::~LayerTreeDebugState() {
}
@@ -60,7 +61,8 @@ bool LayerTreeDebugState::equal(const LayerTreeDebugState& a, const LayerTreeDeb
a.showOccludingRects == b.showOccludingRects &&
a.showNonOccludingRects == b.showNonOccludingRects &&
a.slowDownRasterScaleFactor == b.slowDownRasterScaleFactor &&
- a.m_recordRenderingStats == b.m_recordRenderingStats);
+ a.m_recordRenderingStats == b.m_recordRenderingStats &&
+ a.traceAllRenderedFrames == b.traceAllRenderedFrames);
}
LayerTreeDebugState LayerTreeDebugState::unite(const LayerTreeDebugState& a, const LayerTreeDebugState& b) {
@@ -83,6 +85,7 @@ LayerTreeDebugState LayerTreeDebugState::unite(const LayerTreeDebugState& a, con
r.slowDownRasterScaleFactor = b.slowDownRasterScaleFactor;
r.m_recordRenderingStats |= b.m_recordRenderingStats;
+ r.traceAllRenderedFrames |= b.traceAllRenderedFrames;
return r;
}
« no previous file with comments | « cc/layer_tree_debug_state.h ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698