| Index: content/common/gpu/gpu_messages.h
|
| diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
|
| index 82af22cdaf15685295f60a364fecbc36ebe690b7..e731d98a8531be2c2012a3bc616aa1af2738a9ee 100644
|
| --- a/content/common/gpu/gpu_messages.h
|
| +++ b/content/common/gpu/gpu_messages.h
|
| @@ -238,6 +238,19 @@ IPC_MESSAGE_CONTROL4(GpuMsg_CreateViewCommandBuffer,
|
| int32, /* client_id */
|
| GPUCreateCommandBufferConfig /* init_params */)
|
|
|
| +// Tells the GPU process to create a new image from a window. Images
|
| +// can be bound to textures using CHROMIUM_texture_from_image.
|
| +IPC_MESSAGE_CONTROL3(GpuMsg_CreateImage,
|
| + gfx::PluginWindowHandle, /* window */
|
| + int32, /* client_id */
|
| + int32 /* image_id */)
|
| +
|
| +// Tells the GPU process to delete image.
|
| +IPC_MESSAGE_CONTROL3(GpuMsg_DeleteImage,
|
| + int32, /* client_id */
|
| + int32, /* image_id */
|
| + int32 /* sync_point */)
|
| +
|
| // Tells the GPU process to create a context for collecting graphics card
|
| // information.
|
| IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo)
|
| @@ -311,6 +324,10 @@ IPC_MESSAGE_CONTROL1(GpuHostMsg_CommandBufferCreated,
|
| IPC_MESSAGE_CONTROL1(GpuHostMsg_DestroyCommandBuffer,
|
| int32 /* surface_id */)
|
|
|
| +// Response from GPU to a GpuMsg_CreateImage message.
|
| +IPC_MESSAGE_CONTROL1(GpuHostMsg_ImageCreated,
|
| + gfx::Size /* size */)
|
| +
|
| // Response from GPU to a GpuMsg_CollectGraphicsInfo.
|
| IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected,
|
| content::GPUInfo /* GPU logging stats */)
|
|
|