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

Unified Diff: cc/trees/layer_tree_settings.h

Issue 22900018: cc: Set the mapped memory reclaim limit for the renderer compositor on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU Created 7 years, 4 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 d3a71cf8ed76dc082ce0914edaa55877d5ba9e55..8c5060c5326c18186054483ad5ccfbac6c1ef82b 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -5,6 +5,7 @@
#ifndef CC_TREES_LAYER_TREE_SETTINGS_H_
#define CC_TREES_LAYER_TREE_SETTINGS_H_
+#include <limits>
#include <string>
#include "base/basictypes.h"
@@ -15,6 +16,9 @@
namespace cc {
+static const size_t kDefaultMaxTransferBufferUsageBytes =
danakj 2013/08/23 23:25:39 How about making this a static member of LTSetting
kaanb 2013/08/24 00:25:01 Done.
+ std::numeric_limits<size_t>::max();
+
class CC_EXPORT LayerTreeSettings {
public:
LayerTreeSettings();
@@ -64,6 +68,7 @@ class CC_EXPORT LayerTreeSettings {
bool use_map_image;
std::string compositor_name;
bool ignore_root_layer_flings;
+ size_t max_transfer_buffer_usage_bytes;
LayerTreeDebugState initial_debug_state;
};

Powered by Google App Engine
This is Rietveld 408576698