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

Unified Diff: blimp/client/compositor/blimp_context_provider.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 | « blimp/client/compositor/blimp_context_provider.h ('k') | cc/output/context_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/compositor/blimp_context_provider.cc
diff --git a/blimp/client/compositor/blimp_context_provider.cc b/blimp/client/compositor/blimp_context_provider.cc
index 24be45555188535310012bb6fe58f03fa6299f79..92a6f0d770d5de0e56e4588634a63e423eb91e69 100644
--- a/blimp/client/compositor/blimp_context_provider.cc
+++ b/blimp/client/compositor/blimp_context_provider.cc
@@ -152,6 +152,12 @@ void BlimpContextProvider::SetLostContextCallback(
lost_context_callback_ = lost_context_callback;
}
+void BlimpContextProvider::SetMemoryPolicyChangedCallback(
+ const MemoryPolicyChangedCallback& memory_policy_changed_callback) {
+ // There's no memory manager for the in-process implementation.
+ // TODO(dtrainor): Figure out if we need a memory manager for Blimp.
+}
+
void BlimpContextProvider::OnLostContext() {
DCHECK(context_thread_checker_.CalledOnValidThread());
if (!lost_context_callback_.is_null())
« no previous file with comments | « blimp/client/compositor/blimp_context_provider.h ('k') | cc/output/context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698