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

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

Issue 302603004: Plumb GpuMemoryBuffer allocation to GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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_channel_manager.h
diff --git a/content/common/gpu/gpu_channel_manager.h b/content/common/gpu/gpu_channel_manager.h
index 2064046e1f3a39e186456d4a020b5e8dee939d37..912aaa093832ecaed53e0807b61815519f48c867 100644
--- a/content/common/gpu/gpu_channel_manager.h
+++ b/content/common/gpu/gpu_channel_manager.h
@@ -28,6 +28,7 @@ class WaitableEvent;
namespace gfx {
class GLShareGroup;
+struct GpuMemoryBufferParams;
}
namespace gpu {
@@ -123,6 +124,7 @@ class GpuChannelManager : public IPC::Listener,
gfx::PluginWindowHandle window, int32 client_id, int32 image_id);
void OnCreateImage(
gfx::PluginWindowHandle window, int32 client_id, int32 image_id);
+ void OnAllocateGpuMemoryBuffer(const gfx::GpuMemoryBufferParams& params);
void DeleteImage(int32 client_id, int32 image_id);
void OnDeleteImage(int32 client_id, int32 image_id, int32 sync_point);
void OnDeleteImageSyncPointRetired(ImageOperation*);

Powered by Google App Engine
This is Rietveld 408576698