OLD | NEW |
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 IPC_STRUCT_END() | 103 IPC_STRUCT_END() |
104 | 104 |
105 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) | 105 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) |
106 // If the browser needs framerate throttling based on GPU back-pressure to be | 106 // If the browser needs framerate throttling based on GPU back-pressure to be |
107 // disabled (e.g, because the NSView isn't visible but tab capture is active), | 107 // disabled (e.g, because the NSView isn't visible but tab capture is active), |
108 // then this is set to true. | 108 // then this is set to true. |
109 IPC_STRUCT_MEMBER(bool, disable_throttling) | 109 IPC_STRUCT_MEMBER(bool, disable_throttling) |
110 // If the browser is drawing to the screen, this is the CGL renderer ID of | 110 // If the browser is drawing to the screen, this is the CGL renderer ID of |
111 // the GL context that the brower is using. | 111 // the GL context that the brower is using. |
112 IPC_STRUCT_MEMBER(int32, renderer_id) | 112 IPC_STRUCT_MEMBER(int32, renderer_id) |
| 113 // The CGDirectDisplayID on which the content was displayed. |
| 114 IPC_STRUCT_MEMBER(uint32, display_id) |
113 IPC_STRUCT_END() | 115 IPC_STRUCT_END() |
114 #endif | 116 #endif |
115 | 117 |
116 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) | 118 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) |
117 IPC_STRUCT_MEMBER(int32, input_buffer_id) | 119 IPC_STRUCT_MEMBER(int32, input_buffer_id) |
118 IPC_STRUCT_MEMBER(gfx::Size, coded_size) | 120 IPC_STRUCT_MEMBER(gfx::Size, coded_size) |
119 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) | 121 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) |
120 IPC_STRUCT_MEMBER(uint32, input_buffer_size) | 122 IPC_STRUCT_MEMBER(uint32, input_buffer_size) |
121 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle) | 123 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle) |
122 IPC_STRUCT_MEMBER(uint32, output_buffer_size) | 124 IPC_STRUCT_MEMBER(uint32, output_buffer_size) |
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 798 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
797 | 799 |
798 //------------------------------------------------------------------------------ | 800 //------------------------------------------------------------------------------ |
799 // Accelerated JPEG Decoder Host Messages | 801 // Accelerated JPEG Decoder Host Messages |
800 // These messages are sent from the GPU process to Browser process. | 802 // These messages are sent from the GPU process to Browser process. |
801 // | 803 // |
802 // Report decode status. | 804 // Report decode status. |
803 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 805 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
804 int32, /* bitstream_buffer_id */ | 806 int32, /* bitstream_buffer_id */ |
805 media::JpegDecodeAccelerator::Error /* error */) | 807 media::JpegDecodeAccelerator::Error /* error */) |
OLD | NEW |