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

Unified Diff: cc/trees/layer_tree_settings.cc

Issue 1126793002: cc: Make tiling interest rect calc based on viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use new settings for interest rect calc. Created 5 years, 7 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.cc
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc
index ce8445e19375183bf17f05c142730448a8d00422..9123e45ad3ab0632afc9b63d721daf1994c7be85 100644
--- a/cc/trees/layer_tree_settings.cc
+++ b/cc/trees/layer_tree_settings.cc
@@ -53,8 +53,8 @@ LayerTreeSettings::LayerTreeSettings()
minimum_occlusion_tracking_size(gfx::Size(160, 160)),
use_pinch_zoom_scrollbars(false),
use_pinch_virtual_viewport(false),
- // At 256x256 tiles, 128 tiles cover an area of 2048x4096 pixels.
- max_tiles_for_interest_area(128),
+ // Viewport distance in all directions.
vmpstr 2015/05/06 17:57:29 I don't think you need this comment.
sohanjg 2015/05/07 14:42:10 Done.
+ tiling_interest_area_viewport_multiplier(9),
skewport_target_time_in_seconds(1.0f),
skewport_extrapolation_limit_in_content_pixels(2000),
max_unused_resource_memory_percentage(100),

Powered by Google App Engine
This is Rietveld 408576698