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

Side by Side Diff: media/gpu/ipc/common/media_messages.h

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: rebased Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/unguessable_token.h" 10 #include "base/unguessable_token.h"
(...skipping 26 matching lines...) Expand all
37 IPC_STRUCT_MEMBER(bool, force_keyframe) 37 IPC_STRUCT_MEMBER(bool, force_keyframe)
38 IPC_STRUCT_END() 38 IPC_STRUCT_END()
39 39
40 IPC_STRUCT_BEGIN(AcceleratedVideoDecoderHostMsg_PictureReady_Params) 40 IPC_STRUCT_BEGIN(AcceleratedVideoDecoderHostMsg_PictureReady_Params)
41 IPC_STRUCT_MEMBER(int32_t, picture_buffer_id) 41 IPC_STRUCT_MEMBER(int32_t, picture_buffer_id)
42 IPC_STRUCT_MEMBER(int32_t, bitstream_buffer_id) 42 IPC_STRUCT_MEMBER(int32_t, bitstream_buffer_id)
43 IPC_STRUCT_MEMBER(gfx::Rect, visible_rect) 43 IPC_STRUCT_MEMBER(gfx::Rect, visible_rect)
44 IPC_STRUCT_MEMBER(gfx::ColorSpace, color_space) 44 IPC_STRUCT_MEMBER(gfx::ColorSpace, color_space)
45 IPC_STRUCT_MEMBER(bool, allow_overlay) 45 IPC_STRUCT_MEMBER(bool, allow_overlay)
46 IPC_STRUCT_MEMBER(bool, size_changed) 46 IPC_STRUCT_MEMBER(bool, size_changed)
47 IPC_STRUCT_MEMBER(bool, surface_texture)
48 IPC_STRUCT_MEMBER(bool, wants_promotion_hint)
47 IPC_STRUCT_END() 49 IPC_STRUCT_END()
48 50
49 //------------------------------------------------------------------------------ 51 //------------------------------------------------------------------------------
50 // Utility Messages 52 // Utility Messages
51 53
52 // Sent from Renderer to GPU process to request a token identifying the channel. 54 // Sent from Renderer to GPU process to request a token identifying the channel.
53 // These tokens can be used to prove ownership of the channel. The intended use 55 // These tokens can be used to prove ownership of the channel. The intended use
54 // case is to share the command buffer with MojoMediaApplication. 56 // case is to share the command buffer with MojoMediaApplication.
55 IPC_SYNC_MESSAGE_CONTROL0_1(GpuCommandBufferMsg_GetChannelToken, 57 IPC_SYNC_MESSAGE_CONTROL0_1(GpuCommandBufferMsg_GetChannelToken,
56 base::UnguessableToken /* channel_token */) 58 base::UnguessableToken /* channel_token */)
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 222 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
221 223
222 //------------------------------------------------------------------------------ 224 //------------------------------------------------------------------------------
223 // Accelerated JPEG Decoder Host Messages 225 // Accelerated JPEG Decoder Host Messages
224 // These messages are sent from the GPU process to Browser process. 226 // These messages are sent from the GPU process to Browser process.
225 // 227 //
226 // Report decode status. 228 // Report decode status.
227 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 229 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
228 int32_t, /* bitstream_buffer_id */ 230 int32_t, /* bitstream_buffer_id */
229 media::JpegDecodeAccelerator::Error /* error */) 231 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW
« no previous file with comments | « media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc ('k') | media/gpu/ipc/service/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698