diff options
Diffstat (limited to 'content/common/gpu/gpu_messages.h')
-rw-r--r-- | content/common/gpu/gpu_messages.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h index 24664df..cfe01a3 100644 --- a/content/common/gpu/gpu_messages.h +++ b/content/common/gpu/gpu_messages.h @@ -853,3 +853,26 @@ IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, int32_t, /* bitstream_buffer_id */ media::JpegDecodeAccelerator::Error /* error */) + +#if defined(OS_CHROMEOS) +//------------------------------------------------------------------------------ +// Arc Video Accelerator Messages +// These messages are sent from the Browser process to GPU process. + +// Tells the GPU process to create a new channel for communication with +// ArcVideoAccelerator. The channel is returned using +// GpuHostMsg_ArcVideoAcceleratorChannelCreated message. +IPC_MESSAGE_CONTROL0(GpuMsg_CreateArcVideoAcceleratorChannel) + +// Tells the GPU process to shutdown arc video service and terminate all +// instances of ArcVideoAccelerator. +IPC_MESSAGE_CONTROL0(GpuMsg_ShutdownArcVideoService) + +//------------------------------------------------------------------------------ +// Arc Video Accelerator Host Messages +// These messages are sent from the GPU process to Browser process. + +// Response from GPU to a GpuMsg_CreateArcVideoAcceleratorChannel message. +IPC_MESSAGE_CONTROL1(GpuHostMsg_ArcVideoAcceleratorChannelCreated, + IPC::ChannelHandle /* handle to channel */) +#endif |