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

Unified Diff: cc/trees/layer_tree_settings.h

Issue 140673009: CC/GPU: Add a soft limit to the compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use CC Setting. Created 6 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_settings.h
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h
index 6c06254e0b2a2f7804b2218fbf579a2ea782ba48..12141a091987d1c3b44391d7b109cc52fe949efe 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -61,6 +61,7 @@ class CC_EXPORT LayerTreeSettings {
bool use_pinch_virtual_viewport;
size_t max_tiles_for_interest_area;
size_t max_unused_resource_memory_percentage;
+ size_t max_memory_for_prepaint_percentage;
int highp_threshold_min;
bool strict_layer_property_change_checking;
bool use_map_image;

Powered by Google App Engine
This is Rietveld 408576698