Chromium Code Reviews| 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 3e056e5e7cb7b5fc436dba37c509e2207fe1cc34..7ee5a82a60bb9c29881710c2ae0b421890ab1f79 100644 |
| --- a/content/common/gpu/gpu_channel_manager.cc |
| +++ b/content/common/gpu/gpu_channel_manager.cc |
| @@ -110,6 +110,8 @@ bool GpuChannelManager::OnMessageReceived(const IPC::Message& msg) { |
| OnCreateViewCommandBuffer) |
| IPC_MESSAGE_HANDLER(GpuMsg_CreateImage, OnCreateImage) |
| IPC_MESSAGE_HANDLER(GpuMsg_DeleteImage, OnDeleteImage) |
| + IPC_MESSAGE_HANDLER(GpuMsg_CreateGpuMemoryBuffer, OnCreateGpuMemoryBuffer) |
| + IPC_MESSAGE_HANDLER(GpuMsg_DestroyGpuMemoryBuffer, OnDestroyGpuMemoryBuffer) |
| IPC_MESSAGE_HANDLER(GpuMsg_LoadedShader, OnLoadedShader) |
| IPC_MESSAGE_UNHANDLED(handled = false) |
| IPC_END_MESSAGE_MAP() |
| @@ -255,6 +257,20 @@ void GpuChannelManager::OnDeleteImageSyncPointRetired( |
| } |
| } |
| +void GpuChannelManager::OnCreateGpuMemoryBuffer( |
| + const gfx::GpuMemoryBufferHandle& handle, |
| + const gfx::Size& size, |
| + unsigned internalformat, |
| + unsigned usage) { |
| + NOTIMPLEMENTED(); |
|
piman
2014/06/10 02:48:13
Should we send GpuHostMsg_GpuMemoryBufferCreated w
alexst (slow to review)
2014/06/10 04:38:25
Done.
|
| +} |
| + |
| +void GpuChannelManager::OnDestroyGpuMemoryBuffer( |
| + const gfx::GpuMemoryBufferHandle& handle, |
| + int32 sync_point) { |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| void GpuChannelManager::OnLoadedShader(std::string program_proto) { |
| if (program_cache()) |
| program_cache()->LoadProgram(program_proto); |