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..bd7a5d6ce7f1c3433630aca041b99f9d77cc78e8 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 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 */) |