Chromium Code Reviews| Index: content/common/gpu/gpu_messages.h |
| diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
| index 9e320e0a6d77452a0bd855ca1bfcc937d73b0b2e..5a0f4246f7a356148f8294fa31eed8b863cd3e9a 100644 |
| --- a/content/common/gpu/gpu_messages.h |
| +++ b/content/common/gpu/gpu_messages.h |
| @@ -282,6 +282,19 @@ IPC_MESSAGE_CONTROL3(GpuMsg_DeleteImage, |
| int32, /* image_id */ |
| int32 /* sync_point */) |
| +// Tells the GPU process to create a new gpu memory buffer for |handle|. |
| +IPC_MESSAGE_CONTROL5(GpuMsg_CreateGpuMemoryBuffer, |
| + gfx::GpuMemoryBufferHandle, /* handle */ |
| + size_t, /* width */ |
| + size_t, /* height */ |
|
reveman
2014/06/09 14:35:21
I think this should either be gfx::Size or uint32
|
| + unsigned, /* internalformat */ |
| + unsigned /* usage */) |
| + |
| +// Tells the GPU process to delete buffer. |
| +IPC_MESSAGE_CONTROL2(GpuMsg_DestroyGpuMemoryBuffer, |
| + gfx::GpuMemoryBufferHandle, /* handle */ |
| + int32 /* sync_point */) |
| + |
| // Tells the GPU process to create a context for collecting graphics card |
| // information. |
| IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) |
| @@ -368,6 +381,10 @@ IPC_MESSAGE_CONTROL1(GpuHostMsg_DestroyCommandBuffer, |
| IPC_MESSAGE_CONTROL1(GpuHostMsg_ImageCreated, |
| gfx::Size /* size */) |
| +// Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message. |
| +IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated, |
| + gfx::GpuMemoryBufferHandle /* handle */) |
| + |
| // Response from GPU to a GpuMsg_CollectGraphicsInfo. |
| IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, |
| gpu::GPUInfo /* GPU logging stats */) |