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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 10388010: Decoupling backbuffer allocation suggestion from frontbuffer allocation suggestion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reset previous damage at time of swap. Created 8 years, 7 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 | « no previous file | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index 711c98c4d2dd0eb6ed4363391992f415e62ea7df..2c81c98ac6abed12d3ee487a700a633f719a07b5 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -72,9 +72,6 @@ class CONTENT_EXPORT GpuCommandBufferStubBase {
virtual bool IsInSameContextShareGroup(
const GpuCommandBufferStubBase& other) const = 0;
- virtual void SendMemoryAllocationToProxy(
- const GpuMemoryAllocation& allocation) = 0;
-
virtual void SetMemoryAllocation(
const GpuMemoryAllocation& allocation) = 0;
};
@@ -129,10 +126,6 @@ class GpuCommandBufferStub
virtual bool IsInSameContextShareGroup(
const GpuCommandBufferStubBase& other) const OVERRIDE;
- // Sends memory allocation limits to render process.
- virtual void SendMemoryAllocationToProxy(
- const GpuMemoryAllocation& allocation) OVERRIDE;
-
// Sets buffer usage depending on Memory Allocation
virtual void SetMemoryAllocation(
const GpuMemoryAllocation& allocation) OVERRIDE;
@@ -240,7 +233,6 @@ class GpuCommandBufferStub
bool client_has_memory_allocation_changed_callback_;
uint32 last_flush_count_;
scoped_ptr<GpuCommandBufferStubBase::SurfaceState> surface_state_;
- GpuMemoryAllocation allocation_;
scoped_ptr<gpu::CommandBufferService> command_buffer_;
scoped_ptr<gpu::gles2::GLES2Decoder> decoder_;
« no previous file with comments | « no previous file | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698