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, to be used for | |
114 // computing vsync. If vsync is not enabled, this is zero. | |
115 IPC_STRUCT_MEMBER(uint32, display_id_for_vsync) | |
116 IPC_STRUCT_END() | 113 IPC_STRUCT_END() |
117 #endif | 114 #endif |
118 | 115 |
119 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) | 116 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) |
120 IPC_STRUCT_MEMBER(int32, input_buffer_id) | 117 IPC_STRUCT_MEMBER(int32, input_buffer_id) |
121 IPC_STRUCT_MEMBER(gfx::Size, coded_size) | 118 IPC_STRUCT_MEMBER(gfx::Size, coded_size) |
122 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) | 119 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) |
123 IPC_STRUCT_MEMBER(uint32, input_buffer_size) | 120 IPC_STRUCT_MEMBER(uint32, input_buffer_size) |
124 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle) | 121 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle) |
125 IPC_STRUCT_MEMBER(uint32, output_buffer_size) | 122 IPC_STRUCT_MEMBER(uint32, output_buffer_size) |
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 796 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
800 | 797 |
801 //------------------------------------------------------------------------------ | 798 //------------------------------------------------------------------------------ |
802 // Accelerated JPEG Decoder Host Messages | 799 // Accelerated JPEG Decoder Host Messages |
803 // These messages are sent from the GPU process to Browser process. | 800 // These messages are sent from the GPU process to Browser process. |
804 // | 801 // |
805 // Report decode status. | 802 // Report decode status. |
806 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 803 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
807 int32, /* bitstream_buffer_id */ | 804 int32, /* bitstream_buffer_id */ |
808 media::JpegDecodeAccelerator::Error /* error */) | 805 media::JpegDecodeAccelerator::Error /* error */) |
OLD | NEW |