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 // IPC Messages sent between compositor instances. | 5 // IPC Messages sent between compositor instances. |
6 | 6 |
7 #include "cc/debug/latency_info.h" | 7 #include "cc/debug/latency_info.h" |
8 #include "cc/layers/video_layer_impl.h" | 8 #include "cc/layers/video_layer_impl.h" |
9 #include "cc/output/compositor_frame.h" | 9 #include "cc/output/compositor_frame.h" |
10 #include "cc/output/compositor_frame_ack.h" | 10 #include "cc/output/compositor_frame_ack.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 #endif // CONTENT_COMMON_CC_MESSAGES_H_ | 102 #endif // CONTENT_COMMON_CC_MESSAGES_H_ |
103 | 103 |
104 // Multiply-included message file, hence no include guard. | 104 // Multiply-included message file, hence no include guard. |
105 | 105 |
106 #define IPC_MESSAGE_START CCMsgStart | 106 #define IPC_MESSAGE_START CCMsgStart |
107 #undef IPC_MESSAGE_EXPORT | 107 #undef IPC_MESSAGE_EXPORT |
108 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 108 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
109 | 109 |
110 IPC_ENUM_TRAITS(cc::DrawQuad::Material) | 110 IPC_ENUM_TRAITS(cc::DrawQuad::Material) |
| 111 IPC_ENUM_TRAITS(cc::LatencyComponent) |
111 IPC_ENUM_TRAITS(cc::IOSurfaceDrawQuad::Orientation) | 112 IPC_ENUM_TRAITS(cc::IOSurfaceDrawQuad::Orientation) |
112 IPC_ENUM_TRAITS(WebKit::WebFilterOperation::FilterType) | 113 IPC_ENUM_TRAITS(WebKit::WebFilterOperation::FilterType) |
113 | 114 |
114 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id) | 115 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id) |
115 IPC_STRUCT_TRAITS_MEMBER(layer_id) | 116 IPC_STRUCT_TRAITS_MEMBER(layer_id) |
116 IPC_STRUCT_TRAITS_MEMBER(index) | 117 IPC_STRUCT_TRAITS_MEMBER(index) |
117 IPC_STRUCT_TRAITS_END() | 118 IPC_STRUCT_TRAITS_END() |
118 | 119 |
119 IPC_STRUCT_TRAITS_BEGIN(cc::VideoLayerImpl::FramePlane) | 120 IPC_STRUCT_TRAITS_BEGIN(cc::VideoLayerImpl::FramePlane) |
120 IPC_STRUCT_TRAITS_MEMBER(resource_id) | 121 IPC_STRUCT_TRAITS_MEMBER(resource_id) |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) | 213 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) |
213 IPC_STRUCT_TRAITS_MEMBER(id) | 214 IPC_STRUCT_TRAITS_MEMBER(id) |
214 IPC_STRUCT_TRAITS_MEMBER(sync_point) | 215 IPC_STRUCT_TRAITS_MEMBER(sync_point) |
215 IPC_STRUCT_TRAITS_MEMBER(format) | 216 IPC_STRUCT_TRAITS_MEMBER(format) |
216 IPC_STRUCT_TRAITS_MEMBER(filter) | 217 IPC_STRUCT_TRAITS_MEMBER(filter) |
217 IPC_STRUCT_TRAITS_MEMBER(size) | 218 IPC_STRUCT_TRAITS_MEMBER(size) |
218 IPC_STRUCT_TRAITS_MEMBER(mailbox) | 219 IPC_STRUCT_TRAITS_MEMBER(mailbox) |
219 IPC_STRUCT_TRAITS_END() | 220 IPC_STRUCT_TRAITS_END() |
220 | 221 |
221 IPC_STRUCT_TRAITS_BEGIN(cc::LatencyInfo) | 222 IPC_STRUCT_TRAITS_BEGIN(cc::LatencyInfo) |
222 IPC_STRUCT_TRAITS_MEMBER(renderer_main_frame_number) | 223 IPC_STRUCT_TRAITS_MEMBER(latency_numbers) |
223 IPC_STRUCT_TRAITS_MEMBER(renderer_impl_frame_number) | |
224 IPC_STRUCT_TRAITS_MEMBER(browser_main_frame_number) | |
225 IPC_STRUCT_TRAITS_MEMBER(browser_impl_frame_number) | |
226 IPC_STRUCT_TRAITS_MEMBER(swap_timestamp) | 224 IPC_STRUCT_TRAITS_MEMBER(swap_timestamp) |
227 IPC_STRUCT_TRAITS_END() | 225 IPC_STRUCT_TRAITS_END() |
228 | 226 |
229 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) | 227 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) |
230 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) | 228 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) |
231 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) | 229 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) |
232 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) | 230 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) |
233 IPC_STRUCT_TRAITS_MEMBER(viewport_size) | 231 IPC_STRUCT_TRAITS_MEMBER(viewport_size) |
234 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) | 232 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) |
235 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) | 233 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) |
236 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) | 234 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) |
237 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset) | 235 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset) |
238 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation) | 236 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation) |
239 IPC_STRUCT_TRAITS_MEMBER(overdraw_bottom_height) | 237 IPC_STRUCT_TRAITS_MEMBER(overdraw_bottom_height) |
240 IPC_STRUCT_TRAITS_END() | 238 IPC_STRUCT_TRAITS_END() |
241 | 239 |
242 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) | 240 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) |
243 IPC_STRUCT_TRAITS_MEMBER(mailbox) | 241 IPC_STRUCT_TRAITS_MEMBER(mailbox) |
244 IPC_STRUCT_TRAITS_MEMBER(sync_point) | 242 IPC_STRUCT_TRAITS_MEMBER(sync_point) |
245 IPC_STRUCT_TRAITS_MEMBER(size) | 243 IPC_STRUCT_TRAITS_MEMBER(size) |
246 IPC_STRUCT_TRAITS_END() | 244 IPC_STRUCT_TRAITS_END() |
247 | 245 |
248 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) | 246 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) |
249 IPC_STRUCT_TRAITS_MEMBER(size) | 247 IPC_STRUCT_TRAITS_MEMBER(size) |
250 IPC_STRUCT_TRAITS_MEMBER(damage_rect) | 248 IPC_STRUCT_TRAITS_MEMBER(damage_rect) |
251 IPC_STRUCT_TRAITS_MEMBER(dib_id) | 249 IPC_STRUCT_TRAITS_MEMBER(dib_id) |
252 IPC_STRUCT_TRAITS_END() | 250 IPC_STRUCT_TRAITS_END() |
OLD | NEW |