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

Unified Diff: cc/trees/layer_tree_settings.h

Issue 2099903002: Make tile size a function of the device scale factor. Base URL: https://chromium.googlesource.com/chromium/src.git@layouttests-display
Patch Set: tilesize: . Created 4 years, 6 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_settings.h
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h
index a04ace031729e88c156ee171495e740a8d747339..429199463d237f88e43e26a85d21267e6cb5bc83 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -71,8 +71,7 @@ class CC_EXPORT LayerTreeSettings {
float top_controls_show_threshold = 0.5f;
float top_controls_hide_threshold = 0.5f;
double background_animation_rate = 1.0;
- gfx::Size default_tile_size;
- gfx::Size max_untiled_layer_size;
+ bool use_viewport_for_tile_size = false;
gfx::Size minimum_occlusion_tracking_size;
// 3000 pixels should give sufficient area for prepainting.
// Note this value is specified with an ideal contents scale in mind. That

Powered by Google App Engine
This is Rietveld 408576698