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

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

Issue 10052018: Drop frontbuffers with ui-use-gpu-process, synchronized with browser, decoupled from backbuffer dro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanup Created 8 years, 8 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 4f0881843804ef595e2d5134e51ad731b03c34ea..3bcc58b0bff8707a8d413d7121db333036c19ca9 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -63,9 +63,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;
};
@@ -115,10 +112,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;
@@ -223,7 +216,6 @@ class GpuCommandBufferStub
bool software_;
uint32 last_flush_count_;
scoped_ptr<GpuCommandBufferStubBase::SurfaceState> surface_state_;
- GpuMemoryAllocation allocation_;
scoped_ptr<gpu::CommandBufferService> command_buffer_;
scoped_ptr<gpu::gles2::GLES2Decoder> decoder_;

Powered by Google App Engine
This is Rietveld 408576698