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

Unified Diff: cc/trees/layer_tree_settings.cc

Issue 1412923004: Revert of Move gpu memory calculations to Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 2 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
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | components/mus/public/cpp/context_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_settings.cc
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc
index 751b31cb1e298086644b1c1152d63226b48b037a..0524b39f4f330c6d97b74d8e6fd06a43abc924ad 100644
--- a/cc/trees/layer_tree_settings.cc
+++ b/cc/trees/layer_tree_settings.cc
@@ -69,10 +69,7 @@ LayerTreeSettings::LayerTreeSettings()
image_decode_tasks_enabled(false),
use_compositor_animation_timelines(false),
wait_for_beginframe_interval(true),
- max_staging_buffer_usage_in_bytes(32 * 1024 * 1024),
- memory_policy_(64 * 1024 * 1024,
- gpu::MemoryAllocation::CUTOFF_ALLOW_EVERYTHING,
- ManagedMemoryPolicy::kDefaultNumResourcesLimit) {}
+ max_staging_buffer_usage_in_bytes(32 * 1024 * 1024) {}
LayerTreeSettings::~LayerTreeSettings() {}
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | components/mus/public/cpp/context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698