| Index: content/common/gpu/gpu_messages.h
|
| diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
|
| index 124815b57eb483d7219e01ac92c9bd9d772bd833..3c2bb28d1c9a2154c258f46630fa0167ded7b671 100644
|
| --- a/content/common/gpu/gpu_messages.h
|
| +++ b/content/common/gpu/gpu_messages.h
|
| @@ -27,6 +27,7 @@
|
| #include "media/video/video_decode_accelerator.h"
|
| #include "media/video/video_encode_accelerator.h"
|
| #include "ui/events/latency_info.h"
|
| +#include "ui/gfx/gpu_memory_buffer.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/gfx/size.h"
|
| #include "ui/gl/gpu_preference.h"
|
| @@ -548,7 +549,7 @@ IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_Rescheduled)
|
| IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ConsoleMsg,
|
| GPUCommandBufferConsoleMessage /* msg */)
|
|
|
| -// Register an existing shared memory transfer buffer. Returns an id that can be
|
| +// Register an existing shared memory transfer buffer. The id that can be
|
| // used to identify the transfer buffer from a command buffer.
|
| IPC_MESSAGE_ROUTED3(GpuCommandBufferMsg_RegisterTransferBuffer,
|
| int32 /* id */,
|
| @@ -637,6 +638,19 @@ IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalQuery,
|
| uint32 /* query */,
|
| uint32 /* signal_id */)
|
|
|
| +// Register an existing gpu memory buffer. The id that can be
|
| +// used to identify the gpu memory buffer from a command buffer.
|
| +IPC_MESSAGE_ROUTED5(GpuCommandBufferMsg_RegisterGpuMemoryBuffer,
|
| + int32 /* id */,
|
| + gfx::GpuMemoryBufferHandle /* gpu_memory_buffer */,
|
| + uint32 /* width */,
|
| + uint32 /* height */,
|
| + uint32 /* internalformat */)
|
| +
|
| +// Destroy a previously created gpu memory buffer.
|
| +IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyGpuMemoryBuffer,
|
| + int32 /* id */)
|
| +
|
| //------------------------------------------------------------------------------
|
| // Accelerated Video Decoder Messages
|
| // These messages are sent from Renderer process to GPU process.
|
|
|