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/checkerboard_draw_quad.h" | 7 #include "cc/checkerboard_draw_quad.h" |
8 #include "cc/compositor_frame.h" | 8 #include "cc/compositor_frame.h" |
9 #include "cc/compositor_frame_ack.h" | 9 #include "cc/compositor_frame_ack.h" |
10 #include "cc/debug_border_draw_quad.h" | 10 #include "cc/debug_border_draw_quad.h" |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
184 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[3]) | 184 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[3]) |
185 IPC_STRUCT_TRAITS_MEMBER(flipped) | 185 IPC_STRUCT_TRAITS_MEMBER(flipped) |
186 IPC_STRUCT_TRAITS_END() | 186 IPC_STRUCT_TRAITS_END() |
187 | 187 |
188 IPC_STRUCT_TRAITS_BEGIN(cc::TileDrawQuad) | 188 IPC_STRUCT_TRAITS_BEGIN(cc::TileDrawQuad) |
189 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 189 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
190 IPC_STRUCT_TRAITS_MEMBER(resource_id) | 190 IPC_STRUCT_TRAITS_MEMBER(resource_id) |
191 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) | 191 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) |
192 IPC_STRUCT_TRAITS_MEMBER(texture_size) | 192 IPC_STRUCT_TRAITS_MEMBER(texture_size) |
193 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) | 193 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) |
194 IPC_STRUCT_TRAITS_MEMBER(left_edge_aa) | |
195 IPC_STRUCT_TRAITS_MEMBER(top_edge_aa) | |
196 IPC_STRUCT_TRAITS_MEMBER(right_edge_aa) | |
197 IPC_STRUCT_TRAITS_MEMBER(bottom_edge_aa) | |
198 IPC_STRUCT_TRAITS_END() | 194 IPC_STRUCT_TRAITS_END() |
199 | 195 |
200 IPC_STRUCT_TRAITS_BEGIN(cc::YUVVideoDrawQuad) | 196 IPC_STRUCT_TRAITS_BEGIN(cc::YUVVideoDrawQuad) |
201 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 197 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
202 IPC_STRUCT_TRAITS_MEMBER(tex_scale) | 198 IPC_STRUCT_TRAITS_MEMBER(tex_scale) |
203 IPC_STRUCT_TRAITS_MEMBER(y_plane) | 199 IPC_STRUCT_TRAITS_MEMBER(y_plane) |
204 IPC_STRUCT_TRAITS_MEMBER(u_plane) | 200 IPC_STRUCT_TRAITS_MEMBER(u_plane) |
205 IPC_STRUCT_TRAITS_MEMBER(v_plane) | 201 IPC_STRUCT_TRAITS_MEMBER(v_plane) |
206 IPC_STRUCT_TRAITS_END() | 202 IPC_STRUCT_TRAITS_END() |
207 | 203 |
208 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) | 204 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) |
209 IPC_STRUCT_TRAITS_MEMBER(content_to_target_transform) | 205 IPC_STRUCT_TRAITS_MEMBER(content_to_target_transform) |
206 IPC_STRUCT_TRAITS_MEMBER(content_bounds) | |
danakj
2013/02/26 20:26:29
Can you add this to the unit tests in cc_messages_
ernstm
2013/02/26 22:08:05
Done.
| |
210 IPC_STRUCT_TRAITS_MEMBER(visible_content_rect) | 207 IPC_STRUCT_TRAITS_MEMBER(visible_content_rect) |
211 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | 208 IPC_STRUCT_TRAITS_MEMBER(clip_rect) |
212 IPC_STRUCT_TRAITS_MEMBER(is_clipped) | 209 IPC_STRUCT_TRAITS_MEMBER(is_clipped) |
213 IPC_STRUCT_TRAITS_MEMBER(opacity) | 210 IPC_STRUCT_TRAITS_MEMBER(opacity) |
214 IPC_STRUCT_TRAITS_END() | 211 IPC_STRUCT_TRAITS_END() |
215 | 212 |
216 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) | 213 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) |
217 IPC_STRUCT_TRAITS_MEMBER(id) | 214 IPC_STRUCT_TRAITS_MEMBER(id) |
218 IPC_STRUCT_TRAITS_MEMBER(format) | 215 IPC_STRUCT_TRAITS_MEMBER(format) |
219 IPC_STRUCT_TRAITS_MEMBER(size) | 216 IPC_STRUCT_TRAITS_MEMBER(size) |
(...skipping 17 matching lines...) Expand all Loading... | |
237 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) | 234 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) |
238 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) | 235 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) |
239 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset) | 236 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset) |
240 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation) | 237 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation) |
241 IPC_STRUCT_TRAITS_END() | 238 IPC_STRUCT_TRAITS_END() |
242 | 239 |
243 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) | 240 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) |
244 IPC_STRUCT_TRAITS_MEMBER(mailbox) | 241 IPC_STRUCT_TRAITS_MEMBER(mailbox) |
245 IPC_STRUCT_TRAITS_MEMBER(sync_point) | 242 IPC_STRUCT_TRAITS_MEMBER(sync_point) |
246 IPC_STRUCT_TRAITS_END() | 243 IPC_STRUCT_TRAITS_END() |
OLD | NEW |