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

Unified Diff: cc/trees/layer_tree_settings.h

Issue 1835523002: cc: Add LayerTreeSetting to disable cached picture raster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use LayerTreeSettings for cached picture raster. Created 4 years, 9 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 2aadbbc90cb4d71c58ea8dfccfebf7180c8186b0..50a02ba866b82f9a5ff21f67e45e14543b224b75 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -90,6 +90,10 @@ class CC_EXPORT LayerTreeSettings {
int max_staging_buffer_usage_in_bytes;
ManagedMemoryPolicy memory_policy_;
+ // If set to true, the display item list will internally cache a SkPicture for
+ // raster rather than directly using the display items.
+ bool use_cached_picture_raster;
+
LayerTreeDebugState initial_debug_state;
};

Powered by Google App Engine
This is Rietveld 408576698