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

Unified Diff: cc/debug/test_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/debug/test_context_provider.cc
diff --git a/cc/debug/test_context_provider.cc b/cc/debug/test_context_provider.cc
index 0d6fc010a3096a19f5c441408250273251daf87c..d09ecd86ed9e988e5c4a1b8cfb48d4294c827c12 100644
--- a/cc/debug/test_context_provider.cc
+++ b/cc/debug/test_context_provider.cc
@@ -232,4 +232,9 @@ void TestContextProvider::SetMemoryPolicyChangedCallback(
memory_policy_changed_callback_ = cb;
}
+void TestContextProvider::SetMaxTransferBufferUsageBytes(
+ size_t max_transfer_buffer_usage_bytes) {
+ context3d_->SetMaxTransferBufferUsageBytes(max_transfer_buffer_usage_bytes);
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698