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

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: Renaming messages. Updated the other platforms. 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 892c0d9ae39b35a6ea24c9577ecc41566c7ca9b7..29d04a43efdf9993797ae8f88a33c1b486eb3e43 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -70,9 +70,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;
};
@@ -124,10 +121,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;
@@ -235,7 +228,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_;

Powered by Google App Engine
This is Rietveld 408576698