Index: content/common/gpu/gpu_memory_manager_client.h |
diff --git a/content/common/gpu/gpu_memory_manager_client.h b/content/common/gpu/gpu_memory_manager_client.h |
index ae06053d334db44be364e218de5ccdc5f6532dba..0c6c7d0920ffc3e55ba1b68ee82ddc6ea95e6a3f 100644 |
--- a/content/common/gpu/gpu_memory_manager_client.h |
+++ b/content/common/gpu/gpu_memory_manager_client.h |
@@ -30,6 +30,10 @@ class CONTENT_EXPORT GpuMemoryManagerClient { |
// Returns the memory tracker for this stub. |
virtual gpu::gles2::MemoryTracker* GetMemoryTracker() const = 0; |
+ // Sets buffer usage depending on Memory Allocation |
+ virtual void SetMemoryAllocation( |
+ const gpu::MemoryAllocation& allocation) = 0; |
+ |
virtual void SuggestHaveFrontBuffer(bool suggest_have_frontbuffer) = 0; |
// Returns in bytes the total amount of GPU memory for the GPU which this |