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

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

Issue 1324413003: Move gpu memory calculations to Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove more memory alloc codes. Created 5 years, 3 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 3efa9857a4a3d967ebd889b0847b0191267816d2..ad2c04fc489c3ef4fe9ad55fd4170f4952615a99 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -97,7 +97,6 @@ class GpuCommandBufferStub
// GpuMemoryManagerClient implementation:
gfx::Size GetSurfaceSize() const override;
gpu::gles2::MemoryTracker* GetMemoryTracker() const override;
- void SetMemoryAllocation(const gpu::MemoryAllocation& allocation) override;
void SuggestHaveFrontBuffer(bool suggest_have_frontbuffer) override;
bool GetTotalGpuMemory(uint64* bytes) override;
@@ -210,8 +209,6 @@ class GpuCommandBufferStub
void OnSignalSyncPointAck(uint32 id);
void OnSignalQuery(uint32 query, uint32 id);
- void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback);
-
void OnCreateImage(int32 id,
gfx::GpuMemoryBufferHandle handle,
gfx::Size size,

Powered by Google App Engine
This is Rietveld 408576698