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

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: rebase 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
« no previous file with comments | « cc/output/context_provider.h ('k') | cc/resources/pixel_buffer_raster_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/context_provider.cc
diff --git a/cc/output/context_provider.cc b/cc/output/context_provider.cc
index 9c9ea88b124dd5914d52161674bfbb2c931c0efe..7f46f7ccc67e6f96007c5f21767e9c885b0589a3 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()
@@ -22,6 +24,7 @@ ContextProvider::Capabilities::Capabilities()
texture_rectangle(false),
texture_storage(false),
texture_usage(false),
- discard_framebuffer(false) {}
+ discard_framebuffer(false),
+ max_transfer_buffer_usage_bytes(std::numeric_limits<size_t>::max()) {}
} // namespace cc
« no previous file with comments | « cc/output/context_provider.h ('k') | cc/resources/pixel_buffer_raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698