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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) | 114 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) |
115 IPC_STRUCT_MEMBER(int32, client_id) | 115 IPC_STRUCT_MEMBER(int32, client_id) |
116 IPC_STRUCT_END() | 116 IPC_STRUCT_END() |
117 | 117 |
118 #if defined(OS_MACOSX) | 118 #if defined(OS_MACOSX) |
119 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 119 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
120 IPC_STRUCT_MEMBER(int32, surface_id) | 120 IPC_STRUCT_MEMBER(int32, surface_id) |
121 IPC_STRUCT_MEMBER(uint64, surface_handle) | 121 IPC_STRUCT_MEMBER(uint64, surface_handle) |
122 IPC_STRUCT_MEMBER(int32, route_id) | 122 IPC_STRUCT_MEMBER(int32, route_id) |
123 IPC_STRUCT_MEMBER(gfx::Size, size) | 123 IPC_STRUCT_MEMBER(gfx::Size, size) |
124 IPC_STRUCT_MEMBER(gfx::Rect, damage_rect) | |
125 IPC_STRUCT_MEMBER(float, scale_factor) | 124 IPC_STRUCT_MEMBER(float, scale_factor) |
126 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 125 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
127 IPC_STRUCT_END() | 126 IPC_STRUCT_END() |
128 | 127 |
129 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) | 128 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) |
130 // If the browser needs framerate throttling based on GPU back-pressure to be | |
131 // disabled (e.g, because the NSView isn't visible but tab capture is active), | |
132 // then this is set to true. | |
133 IPC_STRUCT_MEMBER(bool, disable_throttling) | |
134 // If the browser is drawing to the screen, this is the CGL renderer ID of | |
135 // the GL context that the brower is using. | |
136 IPC_STRUCT_MEMBER(int32, renderer_id) | |
137 // The vsync parameters, to synchronize presentation with the display. | 129 // The vsync parameters, to synchronize presentation with the display. |
138 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) | 130 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) |
139 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) | 131 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) |
140 IPC_STRUCT_END() | 132 IPC_STRUCT_END() |
141 #endif | 133 #endif |
142 | 134 |
143 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) | 135 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) |
144 IPC_STRUCT_MEMBER(int32, input_buffer_id) | 136 IPC_STRUCT_MEMBER(int32, input_buffer_id) |
145 IPC_STRUCT_MEMBER(gfx::Size, coded_size) | 137 IPC_STRUCT_MEMBER(gfx::Size, coded_size) |
146 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) | 138 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 804 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
813 | 805 |
814 //------------------------------------------------------------------------------ | 806 //------------------------------------------------------------------------------ |
815 // Accelerated JPEG Decoder Host Messages | 807 // Accelerated JPEG Decoder Host Messages |
816 // These messages are sent from the GPU process to Browser process. | 808 // These messages are sent from the GPU process to Browser process. |
817 // | 809 // |
818 // Report decode status. | 810 // Report decode status. |
819 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 811 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
820 int32, /* bitstream_buffer_id */ | 812 int32, /* bitstream_buffer_id */ |
821 media::JpegDecodeAccelerator::Error /* error */) | 813 media::JpegDecodeAccelerator::Error /* error */) |
OLD | NEW |