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

Unified Diff: cc/layer_tree_debug_state.cc

Issue 11820014: cc: PaintTimeCounter display on the HudLayer in continuous painting mode (Closed) Base URL: http://git.chromium.org/chromium/src.git@paint
Patch Set: updated to base::TimeDelta APIs in PaintTimeCounter Created 7 years, 11 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/heads_up_display_layer_impl.cc ('k') | cc/layer_tree_impl.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 9343f693b9a36334da36053ad360ef1af3c39b24..4e1a2ff1bda9338e69dfdacfc094abe8afab4005 100644
--- a/cc/layer_tree_debug_state.cc
+++ b/cc/layer_tree_debug_state.cc
@@ -25,7 +25,7 @@ LayerTreeDebugState::~LayerTreeDebugState() {
}
bool LayerTreeDebugState::showHudInfo() const {
- return showFPSCounter || showPlatformLayerTree || showHudRects();
+ return showFPSCounter || showPlatformLayerTree || continuousPainting || showHudRects();
}
bool LayerTreeDebugState::showHudRects() const {
@@ -33,7 +33,7 @@ bool LayerTreeDebugState::showHudRects() const {
}
bool LayerTreeDebugState::hudNeedsFont() const {
- return showFPSCounter || showPlatformLayerTree;
+ return showFPSCounter || showPlatformLayerTree || continuousPainting;
}
bool LayerTreeDebugState::equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b) {
« no previous file with comments | « cc/heads_up_display_layer_impl.cc ('k') | cc/layer_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698