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..853c225e96c2e82db0f6d317b649345518caece5 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -238,6 +238,18 @@ 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_CONTROL2(GpuMsg_DeleteImage, |
+ int32, /* client_id */ |
+ int32 /* image_id */) |
+ |
// Tells the GPU process to create a context for collecting graphics card |
// information. |
IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) |
@@ -311,6 +323,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 */) |