Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index ecb19796f6fc9dfea6abdfe37ee61738104eeae6..ff3b099d24bb1fefe6f05aa80b46a7c212a06d84 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -821,3 +821,39 @@ IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
int32, /* bitstream_buffer_id */ |
media::JpegDecodeAccelerator::Error /* error */) |
+ |
+IPC_MESSAGE_CONTROL1(GpuMsg_CreateArcAccelerator, int32_t /* device_type */) |
+IPC_MESSAGE_CONTROL0(GpuMsg_ShutdownArcAccelerators) |
+IPC_MESSAGE_CONTROL2(GpuHostMsg_ArcAcceleratorCreated, |
+ IPC::ChannelHandle /* handle to channel */, |
+ uint32_t /* initialization status */) |
+ |
+// TODO(kcwu) create a new gpu_arc_messages.h ? |
+IPC_SYNC_MESSAGE_CONTROL5_1(ArcAcceleratorMsg_BindSharedBuffer, |
+ uint32_t /* port */, |
+ size_t /* index */, |
+ base::FileDescriptor /* ashmem fd */, |
+ size_t /* offset */, |
+ size_t /* length */, |
+ uint32_t /* result */) |
+IPC_SYNC_MESSAGE_CONTROL3_1(ArcAcceleratorMsg_BindGraphicBuffer, |
+ uint32_t /* port */, |
+ size_t /* index */, |
+ base::FileDescriptor /* dmabuf fd */, |
+ uint32_t /* result */) |
+IPC_SYNC_MESSAGE_CONTROL2_1(ArcAcceleratorMsg_UseBuffer, |
+ uint32_t /* port */, |
+ size_t /* index */, |
+ uint32_t /* result */) |
+IPC_SYNC_MESSAGE_CONTROL2_2(ArcAcceleratorMsg_SetBufferCount, |
+ uint32_t /* port */, |
+ size_t /* in_count */, |
+ size_t /* out_count */, |
+ size_t /* result */) |
+IPC_SYNC_MESSAGE_CONTROL0_0(ArcAcceleratorMsg_Reset) |
+IPC_SYNC_MESSAGE_CONTROL4_1(ArcAcceleratorMsg_SetPixelFormat, |
+ uint32_t /* port */, |
+ uint32_t /* pixel_format */, |
+ uint32_t /* image_size */, |
+ uint32_t /* memory_type */, |
+ uint32_t /* result */) |