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

Unified Diff: content/common/gpu/client/context_provider_command_buffer.h

Issue 1324413003: Move gpu memory calculations to Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment + android_arm64_dbg_recipe bot issue. 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
Index: content/common/gpu/client/context_provider_command_buffer.h
diff --git a/content/common/gpu/client/context_provider_command_buffer.h b/content/common/gpu/client/context_provider_command_buffer.h
index 1e0d23f82b915609416ce8473e6d4f83d6fd24bb..b2080b49e3a46cdf021b65dea49233fa5cc60e95 100644
--- a/content/common/gpu/client/context_provider_command_buffer.h
+++ b/content/common/gpu/client/context_provider_command_buffer.h
@@ -48,9 +48,6 @@ class CONTENT_EXPORT ContextProviderCommandBuffer
bool DestroyedOnMainThread() override;
void SetLostContextCallback(
const LostContextCallback& lost_context_callback) override;
- void SetMemoryPolicyChangedCallback(
- const MemoryPolicyChangedCallback& memory_policy_changed_callback)
- override;
protected:
ContextProviderCommandBuffer(
@@ -59,7 +56,6 @@ class CONTENT_EXPORT ContextProviderCommandBuffer
~ContextProviderCommandBuffer() override;
void OnLostContext();
- void OnMemoryAllocationChanged(const gpu::MemoryAllocation& allocation);
private:
void InitializeCapabilities();
@@ -75,7 +71,6 @@ class CONTENT_EXPORT ContextProviderCommandBuffer
std::string debug_name_;
LostContextCallback lost_context_callback_;
- MemoryPolicyChangedCallback memory_policy_changed_callback_;
base::Lock main_thread_lock_;
bool destroyed_;
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.cc ('k') | content/common/gpu/client/context_provider_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698