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..6234477a198e319e1b9dcd96aafdd1feb36e143b 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 */) |
| +// Allocate a buffer asynchronously in the GPU process. |
|
reveman
2014/06/02 22:47:33
How about "Tells the GPU process to create a new g
|
| +IPC_MESSAGE_CONTROL5(GpuMsg_CreateGpuMemoryBuffer, |
| + size_t, /* width */ |
| + size_t, /* height */ |
| + unsigned, /* internalformat */ |
| + unsigned, /* usage */ |
| + gfx::GpuMemoryBufferHandle /* handle */) |
| + |
| +// Tells the GPU process to delete buffer. |
| +IPC_MESSAGE_CONTROL2(GpuMsg_DeleteGpuMemoryBuffer, |
| + 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 */) |