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

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: Updating all platforms to really decouple the two allocations by not using a shared AdjustBufferAll… 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
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 abbd4559a228a9df418735b64820afa26ff55ab5..0c449603f1a6eefce2caa0ffa468bbac3f9f2178 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') | content/common/gpu/image_transport_surface_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698