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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 814 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
815 815
816 //------------------------------------------------------------------------------ 816 //------------------------------------------------------------------------------
817 // Accelerated JPEG Decoder Host Messages 817 // Accelerated JPEG Decoder Host Messages
818 // These messages are sent from the GPU process to Browser process. 818 // These messages are sent from the GPU process to Browser process.
819 // 819 //
820 // Report decode status. 820 // Report decode status.
821 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 821 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
822 int32, /* bitstream_buffer_id */ 822 int32, /* bitstream_buffer_id */
823 media::JpegDecodeAccelerator::Error /* error */) 823 media::JpegDecodeAccelerator::Error /* error */)
824
825 IPC_MESSAGE_CONTROL1(GpuMsg_CreateArcAccelerator, int32_t /* device_type */)
826 IPC_MESSAGE_CONTROL0(GpuMsg_ShutdownArcAccelerators)
827 IPC_MESSAGE_CONTROL2(GpuHostMsg_ArcAcceleratorCreated,
828 IPC::ChannelHandle /* handle to channel */,
829 uint32_t /* initialization status */)
830
831 // TODO(kcwu) create a new gpu_arc_messages.h ?
832 IPC_SYNC_MESSAGE_CONTROL5_1(ArcAcceleratorMsg_BindSharedBuffer,
833 uint32_t /* port */,
834 size_t /* index */,
835 base::FileDescriptor /* ashmem fd */,
836 size_t /* offset */,
837 size_t /* length */,
838 uint32_t /* result */)
839 IPC_SYNC_MESSAGE_CONTROL3_1(ArcAcceleratorMsg_BindGraphicBuffer,
840 uint32_t /* port */,
841 size_t /* index */,
842 base::FileDescriptor /* dmabuf fd */,
843 uint32_t /* result */)
844 IPC_SYNC_MESSAGE_CONTROL2_1(ArcAcceleratorMsg_UseBuffer,
845 uint32_t /* port */,
846 size_t /* index */,
847 uint32_t /* result */)
848 IPC_SYNC_MESSAGE_CONTROL2_2(ArcAcceleratorMsg_SetBufferCount,
849 uint32_t /* port */,
850 size_t /* in_count */,
851 size_t /* out_count */,
852 size_t /* result */)
853 IPC_SYNC_MESSAGE_CONTROL0_0(ArcAcceleratorMsg_Reset)
854 IPC_SYNC_MESSAGE_CONTROL4_1(ArcAcceleratorMsg_SetPixelFormat,
855 uint32_t /* port */,
856 uint32_t /* pixel_format */,
857 uint32_t /* image_size */,
858 uint32_t /* memory_type */,
859 uint32_t /* result */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698