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

Unified Diff: cc/trees/layer_tree_host.h

Issue 913203006: cc: Calculate "can use lcd text" on the compositor thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index b17b5a4c4a77e2f3f943920bd30e68c95a880bbe..a70c3c63e46c8756fde1f99fbd6e9801be65d65d 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -447,20 +447,6 @@ class CC_EXPORT LayerTreeHost {
bool in_paint_layer_contents_;
- static const int kTotalFramesToUseForLCDTextMetrics = 50;
- int total_frames_used_for_lcd_text_metrics_;
-
- struct LCDTextMetrics {
- LCDTextMetrics()
- : total_num_cc_layers(0),
- total_num_cc_layers_can_use_lcd_text(0),
- total_num_cc_layers_will_use_lcd_text(0) {}
-
- int64 total_num_cc_layers;
- int64 total_num_cc_layers_can_use_lcd_text;
- int64 total_num_cc_layers_will_use_lcd_text;
- };
- LCDTextMetrics lcd_text_metrics_;
Ian Vollick 2015/02/18 09:12:10 Could this be moved to LTHI now that LCD text stuf
enne (OOO) 2015/02/18 19:22:23 We could, but do you think we need this data still
Ian Vollick 2015/02/18 19:58:13 sg. Should the histogram be removed in this case?
enne (OOO) 2015/02/18 20:01:44 Done.
int id_;
bool next_commit_forces_redraw_;

Powered by Google App Engine
This is Rietveld 408576698