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..a56f19c928a577180be30187e76b2433ec889591 100644 |
| --- a/content/common/gpu/gpu_messages.h |
| +++ b/content/common/gpu/gpu_messages.h |
| @@ -282,6 +282,18 @@ 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_CONTROL4(GpuMsg_CreateGpuMemoryBuffer, |
| + gfx::GpuMemoryBufferHandle, /* handle */ |
| + gfx::Size, /* size */ |
| + unsigned, /* internalformat */ |
| + unsigned /* usage */) |
| + |
| +// Tells the GPU process to delete buffer. |
|
reveman
2014/06/09 23:27:59
nit: to destroy 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 +380,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 */) |