| OLD | NEW |
| 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 Loading... |
| 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) |
| 47 IPC_STRUCT_END() | 48 IPC_STRUCT_END() |
| 48 | 49 |
| 49 //------------------------------------------------------------------------------ | 50 //------------------------------------------------------------------------------ |
| 50 // Utility Messages | 51 // Utility Messages |
| 51 | 52 |
| 52 // Sent from Renderer to GPU process to request a token identifying the channel. | 53 // 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 | 54 // These tokens can be used to prove ownership of the channel. The intended use |
| 54 // case is to share the command buffer with MojoMediaApplication. | 55 // case is to share the command buffer with MojoMediaApplication. |
| 55 IPC_SYNC_MESSAGE_CONTROL0_1(GpuCommandBufferMsg_GetChannelToken, | 56 IPC_SYNC_MESSAGE_CONTROL0_1(GpuCommandBufferMsg_GetChannelToken, |
| 56 base::UnguessableToken /* channel_token */) | 57 base::UnguessableToken /* channel_token */) |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 221 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 221 | 222 |
| 222 //------------------------------------------------------------------------------ | 223 //------------------------------------------------------------------------------ |
| 223 // Accelerated JPEG Decoder Host Messages | 224 // Accelerated JPEG Decoder Host Messages |
| 224 // These messages are sent from the GPU process to Browser process. | 225 // These messages are sent from the GPU process to Browser process. |
| 225 // | 226 // |
| 226 // Report decode status. | 227 // Report decode status. |
| 227 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 228 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 228 int32_t, /* bitstream_buffer_id */ | 229 int32_t, /* bitstream_buffer_id */ |
| 229 media::JpegDecodeAccelerator::Error /* error */) | 230 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |