Index: content/common/gpu/gpu_channel_manager.cc |
diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc |
index 45298d53911744caed2d8d7acd35de714b887990..11b1aafbd841ae77441f6ee3fae5c312848256fd 100644 |
--- a/content/common/gpu/gpu_channel_manager.cc |
+++ b/content/common/gpu/gpu_channel_manager.cc |
@@ -109,6 +109,8 @@ bool GpuChannelManager::OnMessageReceived(const IPC::Message& msg) { |
IPC_MESSAGE_HANDLER(GpuMsg_CreateViewCommandBuffer, |
OnCreateViewCommandBuffer) |
IPC_MESSAGE_HANDLER(GpuMsg_CreateImage, OnCreateImage) |
+ IPC_MESSAGE_HANDLER(GpuMsg_AllocateGpuMemoryBuffer, |
+ OnAllocateGpuMemoryBuffer) |
IPC_MESSAGE_HANDLER(GpuMsg_DeleteImage, OnDeleteImage) |
IPC_MESSAGE_HANDLER(GpuMsg_LoadedShader, OnLoadedShader) |
IPC_MESSAGE_UNHANDLED(handled = false) |
@@ -258,6 +260,14 @@ void GpuChannelManager::OnDeleteImageSyncPointRetired( |
} |
} |
+void GpuChannelManager::OnAllocateGpuMemoryBuffer( |
+ const gfx::GpuMemoryBufferParams& params) { |
+ NOTIMPLEMENTED(); |
+ |
+ gfx::GpuMemoryBufferHandle handle; |
+ Send(new GpuHostMsg_GpuMemoryBufferAllocated(handle)); |
+} |
+ |
void GpuChannelManager::OnLoadedShader(std::string program_proto) { |
if (program_cache()) |
program_cache()->LoadProgram(program_proto); |