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

Unified Diff: cc/debug/layer_tree_debug_state.cc

Issue 1296673004: Devtools/CC: Remove continuous repainting feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/debug/layer_tree_debug_state.h ('k') | cc/debug/paint_time_counter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/layer_tree_debug_state.cc
diff --git a/cc/debug/layer_tree_debug_state.cc b/cc/debug/layer_tree_debug_state.cc
index e840220ca6f88799ca432d6a736fc3a15258dfc9..a084bf38d201a7aa7b8b74dc86864da71e08b820 100644
--- a/cc/debug/layer_tree_debug_state.cc
+++ b/cc/debug/layer_tree_debug_state.cc
@@ -12,7 +12,6 @@ namespace cc {
LayerTreeDebugState::LayerTreeDebugState()
: show_fps_counter(false),
show_debug_borders(false),
- continuous_painting(false),
show_paint_rects(false),
show_property_changed_rects(false),
show_surface_damage_rects(false),
@@ -35,12 +34,11 @@ void LayerTreeDebugState::SetRecordRenderingStats(bool enabled) {
}
bool LayerTreeDebugState::RecordRenderingStats() const {
- return record_rendering_stats_ || continuous_painting;
+ return record_rendering_stats_;
}
bool LayerTreeDebugState::ShowHudInfo() const {
- return show_fps_counter || continuous_painting ||
- ShowHudRects();
+ return show_fps_counter || ShowHudRects();
}
bool LayerTreeDebugState::ShowHudRects() const {
@@ -52,7 +50,7 @@ bool LayerTreeDebugState::ShowHudRects() const {
}
bool LayerTreeDebugState::ShowMemoryStats() const {
- return show_fps_counter || continuous_painting;
+ return show_fps_counter;
}
bool LayerTreeDebugState::Equal(const LayerTreeDebugState& a,
@@ -60,7 +58,6 @@ bool LayerTreeDebugState::Equal(const LayerTreeDebugState& a,
return (
a.show_fps_counter == b.show_fps_counter &&
a.show_debug_borders == b.show_debug_borders &&
- a.continuous_painting == b.continuous_painting &&
a.show_paint_rects == b.show_paint_rects &&
a.show_property_changed_rects == b.show_property_changed_rects &&
a.show_surface_damage_rects == b.show_surface_damage_rects &&
@@ -84,7 +81,6 @@ LayerTreeDebugState LayerTreeDebugState::Unite(const LayerTreeDebugState& a,
r.show_fps_counter |= b.show_fps_counter;
r.show_debug_borders |= b.show_debug_borders;
- r.continuous_painting |= b.continuous_painting;
r.show_paint_rects |= b.show_paint_rects;
r.show_property_changed_rects |= b.show_property_changed_rects;
« no previous file with comments | « cc/debug/layer_tree_debug_state.h ('k') | cc/debug/paint_time_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698