| 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" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 IPC_STRUCT_TRAITS_END() | 111 IPC_STRUCT_TRAITS_END() |
| 112 | 112 |
| 113 IPC_STRUCT_TRAITS_BEGIN(cc::TileDrawQuad) | 113 IPC_STRUCT_TRAITS_BEGIN(cc::TileDrawQuad) |
| 114 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 114 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
| 115 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) | 115 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) |
| 116 IPC_STRUCT_TRAITS_MEMBER(texture_size) | 116 IPC_STRUCT_TRAITS_MEMBER(texture_size) |
| 117 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) | 117 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) |
| 118 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) | 118 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) |
| 119 IPC_STRUCT_TRAITS_END() | 119 IPC_STRUCT_TRAITS_END() |
| 120 | 120 |
| 121 IPC_STRUCT_TRAITS_BEGIN(cc::YUVVideoDrawQuad) | |
| 122 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | |
| 123 IPC_STRUCT_TRAITS_MEMBER(ya_tex_coord_rect) | |
| 124 IPC_STRUCT_TRAITS_MEMBER(uv_tex_coord_rect) | |
| 125 IPC_STRUCT_TRAITS_MEMBER(ya_tex_size) | |
| 126 IPC_STRUCT_TRAITS_MEMBER(uv_tex_size) | |
| 127 IPC_STRUCT_TRAITS_MEMBER(color_space) | |
| 128 IPC_STRUCT_TRAITS_MEMBER(resource_offset) | |
| 129 IPC_STRUCT_TRAITS_MEMBER(resource_multiplier) | |
| 130 IPC_STRUCT_TRAITS_END() | |
| 131 | |
| 132 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) | 121 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) |
| 133 IPC_STRUCT_TRAITS_MEMBER(quad_to_target_transform) | 122 IPC_STRUCT_TRAITS_MEMBER(quad_to_target_transform) |
| 134 IPC_STRUCT_TRAITS_MEMBER(quad_layer_bounds) | 123 IPC_STRUCT_TRAITS_MEMBER(quad_layer_bounds) |
| 135 IPC_STRUCT_TRAITS_MEMBER(visible_quad_layer_rect) | 124 IPC_STRUCT_TRAITS_MEMBER(visible_quad_layer_rect) |
| 136 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | 125 IPC_STRUCT_TRAITS_MEMBER(clip_rect) |
| 137 IPC_STRUCT_TRAITS_MEMBER(is_clipped) | 126 IPC_STRUCT_TRAITS_MEMBER(is_clipped) |
| 138 IPC_STRUCT_TRAITS_MEMBER(opacity) | 127 IPC_STRUCT_TRAITS_MEMBER(opacity) |
| 139 IPC_STRUCT_TRAITS_MEMBER(blend_mode) | 128 IPC_STRUCT_TRAITS_MEMBER(blend_mode) |
| 140 IPC_STRUCT_TRAITS_MEMBER(sorting_context_id) | 129 IPC_STRUCT_TRAITS_MEMBER(sorting_context_id) |
| 141 IPC_STRUCT_TRAITS_END() | 130 IPC_STRUCT_TRAITS_END() |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) | 187 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) |
| 199 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) | 188 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) |
| 200 IPC_STRUCT_TRAITS_END() | 189 IPC_STRUCT_TRAITS_END() |
| 201 | 190 |
| 202 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) | 191 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) |
| 203 IPC_STRUCT_TRAITS_MEMBER(size) | 192 IPC_STRUCT_TRAITS_MEMBER(size) |
| 204 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) | 193 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) |
| 205 IPC_STRUCT_TRAITS_END() | 194 IPC_STRUCT_TRAITS_END() |
| 206 | 195 |
| 207 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 196 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
| OLD | NEW |