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/output/begin_frame_args.h" | 7 #include "cc/output/begin_frame_args.h" |
8 #include "cc/output/compositor_frame.h" | 8 #include "cc/output/compositor_frame.h" |
9 #include "cc/output/compositor_frame_ack.h" | 9 #include "cc/output/compositor_frame_ack.h" |
10 #include "cc/output/filter_operation.h" | 10 #include "cc/output/filter_operation.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
187 | 187 |
188 IPC_STRUCT_TRAITS_BEGIN(cc::SolidColorDrawQuad) | 188 IPC_STRUCT_TRAITS_BEGIN(cc::SolidColorDrawQuad) |
189 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 189 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
190 IPC_STRUCT_TRAITS_MEMBER(color) | 190 IPC_STRUCT_TRAITS_MEMBER(color) |
191 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off) | 191 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off) |
192 IPC_STRUCT_TRAITS_END() | 192 IPC_STRUCT_TRAITS_END() |
193 | 193 |
194 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad) | 194 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad) |
195 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 195 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
196 IPC_STRUCT_TRAITS_MEMBER(resource_id) | 196 IPC_STRUCT_TRAITS_MEMBER(resource_id) |
197 IPC_STRUCT_TRAITS_MEMBER(resource_size_in_pixels) | |
198 IPC_STRUCT_TRAITS_MEMBER(allow_overlay) | |
197 IPC_STRUCT_TRAITS_MEMBER(matrix) | 199 IPC_STRUCT_TRAITS_MEMBER(matrix) |
198 IPC_STRUCT_TRAITS_END() | 200 IPC_STRUCT_TRAITS_END() |
199 | 201 |
200 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceDrawQuad) | 202 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceDrawQuad) |
201 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 203 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
202 IPC_STRUCT_TRAITS_MEMBER(surface_id) | 204 IPC_STRUCT_TRAITS_MEMBER(surface_id) |
203 IPC_STRUCT_TRAITS_END() | 205 IPC_STRUCT_TRAITS_END() |
204 | 206 |
205 IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad) | 207 IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad) |
206 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 208 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
207 IPC_STRUCT_TRAITS_MEMBER(resource_id) | 209 IPC_STRUCT_TRAITS_MEMBER(resource_id) |
210 IPC_STRUCT_TRAITS_MEMBER(resource_size_in_pixels) | |
danakj
2015/06/01 17:31:30
can you add them to the cc_messages_unittests also
achaulk
2015/06/02 19:06:50
Done.
| |
211 IPC_STRUCT_TRAITS_MEMBER(allow_overlay) | |
208 IPC_STRUCT_TRAITS_MEMBER(premultiplied_alpha) | 212 IPC_STRUCT_TRAITS_MEMBER(premultiplied_alpha) |
209 IPC_STRUCT_TRAITS_MEMBER(uv_top_left) | 213 IPC_STRUCT_TRAITS_MEMBER(uv_top_left) |
210 IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right) | 214 IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right) |
211 IPC_STRUCT_TRAITS_MEMBER(background_color) | 215 IPC_STRUCT_TRAITS_MEMBER(background_color) |
212 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[0]) | 216 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[0]) |
213 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[1]) | 217 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[1]) |
214 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[2]) | 218 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[2]) |
215 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[3]) | 219 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[3]) |
216 IPC_STRUCT_TRAITS_MEMBER(y_flipped) | 220 IPC_STRUCT_TRAITS_MEMBER(y_flipped) |
217 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) | 221 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
309 IPC_STRUCT_TRAITS_MEMBER(latency_info) | 313 IPC_STRUCT_TRAITS_MEMBER(latency_info) |
310 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) | 314 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) |
311 IPC_STRUCT_TRAITS_END() | 315 IPC_STRUCT_TRAITS_END() |
312 | 316 |
313 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) | 317 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) |
314 IPC_STRUCT_TRAITS_MEMBER(mailbox) | 318 IPC_STRUCT_TRAITS_MEMBER(mailbox) |
315 IPC_STRUCT_TRAITS_MEMBER(sync_point) | 319 IPC_STRUCT_TRAITS_MEMBER(sync_point) |
316 IPC_STRUCT_TRAITS_MEMBER(size) | 320 IPC_STRUCT_TRAITS_MEMBER(size) |
317 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) | 321 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) |
318 IPC_STRUCT_TRAITS_END() | 322 IPC_STRUCT_TRAITS_END() |
OLD | NEW |