OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 5 #ifndef CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
6 #define CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 6 #define CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
7 | 7 |
8 #include "cc/output/begin_frame_args.h" | 8 #include "cc/output/begin_frame_args.h" |
9 #include "cc/output/compositor_frame.h" | 9 #include "cc/output/compositor_frame.h" |
10 #include "cc/output/filter_operation.h" | 10 #include "cc/output/filter_operation.h" |
11 #include "cc/quads/debug_border_draw_quad.h" | 11 #include "cc/quads/debug_border_draw_quad.h" |
12 #include "cc/quads/draw_quad.h" | 12 #include "cc/quads/draw_quad.h" |
13 #include "cc/quads/render_pass.h" | 13 #include "cc/quads/render_pass.h" |
14 #include "cc/quads/render_pass_id.h" | 14 #include "cc/quads/render_pass_id.h" |
15 #include "cc/quads/shared_quad_state.h" | 15 #include "cc/quads/shared_quad_state.h" |
16 #include "cc/quads/solid_color_draw_quad.h" | 16 #include "cc/quads/solid_color_draw_quad.h" |
17 #include "cc/quads/stream_video_draw_quad.h" | 17 #include "cc/quads/stream_video_draw_quad.h" |
18 #include "cc/quads/surface_draw_quad.h" | 18 #include "cc/quads/surface_draw_quad.h" |
19 #include "cc/quads/texture_draw_quad.h" | 19 #include "cc/quads/texture_draw_quad.h" |
20 #include "cc/quads/tile_draw_quad.h" | 20 #include "cc/quads/tile_draw_quad.h" |
| 21 #include "cc/quads/y_video_draw_quad.h" |
21 #include "cc/quads/yuv_video_draw_quad.h" | 22 #include "cc/quads/yuv_video_draw_quad.h" |
22 #include "cc/resources/resource_format.h" | 23 #include "cc/resources/resource_format.h" |
23 #include "cc/resources/returned_resource.h" | 24 #include "cc/resources/returned_resource.h" |
24 #include "cc/resources/transferable_resource.h" | 25 #include "cc/resources/transferable_resource.h" |
25 #include "cc/surfaces/surface_id.h" | 26 #include "cc/surfaces/surface_id.h" |
26 #include "cc/surfaces/surface_sequence.h" | 27 #include "cc/surfaces/surface_sequence.h" |
27 #include "ui/events/ipc/latency_info_param_traits.h" | 28 #include "ui/events/ipc/latency_info_param_traits.h" |
28 #include "ui/gfx/ipc/color/gfx_param_traits.h" | 29 #include "ui/gfx/ipc/color/gfx_param_traits.h" |
29 #include "ui/gfx/ipc/gfx_param_traits.h" | 30 #include "ui/gfx/ipc/gfx_param_traits.h" |
30 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 31 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 IPC_STRUCT_TRAITS_END() | 113 IPC_STRUCT_TRAITS_END() |
113 | 114 |
114 IPC_STRUCT_TRAITS_BEGIN(cc::TileDrawQuad) | 115 IPC_STRUCT_TRAITS_BEGIN(cc::TileDrawQuad) |
115 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 116 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
116 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) | 117 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) |
117 IPC_STRUCT_TRAITS_MEMBER(texture_size) | 118 IPC_STRUCT_TRAITS_MEMBER(texture_size) |
118 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) | 119 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) |
119 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) | 120 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) |
120 IPC_STRUCT_TRAITS_END() | 121 IPC_STRUCT_TRAITS_END() |
121 | 122 |
| 123 IPC_STRUCT_TRAITS_BEGIN(cc::YVideoDrawQuad) |
| 124 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
| 125 IPC_STRUCT_TRAITS_MEMBER(uv_top_left) |
| 126 IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right) |
| 127 IPC_STRUCT_TRAITS_END() |
| 128 |
122 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) | 129 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) |
123 IPC_STRUCT_TRAITS_MEMBER(quad_to_target_transform) | 130 IPC_STRUCT_TRAITS_MEMBER(quad_to_target_transform) |
124 IPC_STRUCT_TRAITS_MEMBER(quad_layer_bounds) | 131 IPC_STRUCT_TRAITS_MEMBER(quad_layer_bounds) |
125 IPC_STRUCT_TRAITS_MEMBER(visible_quad_layer_rect) | 132 IPC_STRUCT_TRAITS_MEMBER(visible_quad_layer_rect) |
126 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | 133 IPC_STRUCT_TRAITS_MEMBER(clip_rect) |
127 IPC_STRUCT_TRAITS_MEMBER(is_clipped) | 134 IPC_STRUCT_TRAITS_MEMBER(is_clipped) |
128 IPC_STRUCT_TRAITS_MEMBER(opacity) | 135 IPC_STRUCT_TRAITS_MEMBER(opacity) |
129 IPC_STRUCT_TRAITS_MEMBER(blend_mode) | 136 IPC_STRUCT_TRAITS_MEMBER(blend_mode) |
130 IPC_STRUCT_TRAITS_MEMBER(sorting_context_id) | 137 IPC_STRUCT_TRAITS_MEMBER(sorting_context_id) |
131 IPC_STRUCT_TRAITS_END() | 138 IPC_STRUCT_TRAITS_END() |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) | 192 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) |
186 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) | 193 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) |
187 IPC_STRUCT_TRAITS_MEMBER(root_background_color) | 194 IPC_STRUCT_TRAITS_MEMBER(root_background_color) |
188 IPC_STRUCT_TRAITS_MEMBER(selection) | 195 IPC_STRUCT_TRAITS_MEMBER(selection) |
189 IPC_STRUCT_TRAITS_MEMBER(latency_info) | 196 IPC_STRUCT_TRAITS_MEMBER(latency_info) |
190 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) | 197 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) |
191 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) | 198 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) |
192 IPC_STRUCT_TRAITS_END() | 199 IPC_STRUCT_TRAITS_END() |
193 | 200 |
194 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 201 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |