Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1406)

Unified Diff: content/common/gpu/gpu_messages.h

Issue 1451353002: Implement GpuArcVideoService for arc video accelerator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 */)

Powered by Google App Engine
This is Rietveld 408576698