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

Unified Diff: cc/output/context_provider.cc

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: Set the limit in the unittest Created 7 years, 3 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/output/context_provider.cc
diff --git a/cc/output/context_provider.cc b/cc/output/context_provider.cc
index fb6d8e6ac79c5178ca179d9fddd758a2a3f5b41d..8fb604334bf529aa588dbc204e5a3e81008d06b3 100644
--- a/cc/output/context_provider.cc
+++ b/cc/output/context_provider.cc
@@ -4,6 +4,8 @@
#include "cc/output/context_provider.h"
+#include <limits>
+
namespace cc {
ContextProvider::Capabilities::Capabilities()
@@ -21,6 +23,7 @@ ContextProvider::Capabilities::Capabilities()
texture_format_bgra8888(false),
texture_rectangle(false),
texture_storage(false),
- texture_usage(false) {}
+ texture_usage(false),
+ max_transfer_buffer_usage_bytes(std::numeric_limits<size_t>::max()) {}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698