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

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

Issue 634083002: gpu: Compositor management of GpuMemoryBuffer instances. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-pre-chromium-image-refactor
Patch Set: mac build fix Created 6 years, 2 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 7db3a051eec34152de477c8efebebe5b1ae2bfff..6454a51743104490fdbbc98826430f5bfa494ccb 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -196,12 +196,12 @@ class GpuCommandBufferStub
void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback);
- void OnRegisterGpuMemoryBuffer(int32 id,
- gfx::GpuMemoryBufferHandle handle,
- uint32 width,
- uint32 height,
- uint32 internalformat);
- void OnUnregisterGpuMemoryBuffer(int32 id);
+ void OnCreateImage(int32 id,
+ gfx::GpuMemoryBufferHandle handle,
+ gfx::Size size,
+ gfx::GpuMemoryBuffer::Format format,
+ uint32 internalformat);
+ void OnDestroyImage(int32 id);
void OnCommandProcessed();
void OnParseError();

Powered by Google App Engine
This is Rietveld 408576698