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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 IPC_STRUCT_TRAITS_MEMBER(color) | 76 IPC_STRUCT_TRAITS_MEMBER(color) |
77 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off) | 77 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off) |
78 IPC_STRUCT_TRAITS_END() | 78 IPC_STRUCT_TRAITS_END() |
79 | 79 |
80 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad) | 80 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad) |
81 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 81 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
82 IPC_STRUCT_TRAITS_MEMBER(overlay_resources) | 82 IPC_STRUCT_TRAITS_MEMBER(overlay_resources) |
83 IPC_STRUCT_TRAITS_MEMBER(matrix) | 83 IPC_STRUCT_TRAITS_MEMBER(matrix) |
84 IPC_STRUCT_TRAITS_END() | 84 IPC_STRUCT_TRAITS_END() |
85 | 85 |
| 86 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad::OverlayResources) |
| 87 IPC_STRUCT_TRAITS_MEMBER(size_in_pixels) |
| 88 IPC_STRUCT_TRAITS_END() |
| 89 |
86 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceDrawQuad) | 90 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceDrawQuad) |
87 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 91 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
88 IPC_STRUCT_TRAITS_MEMBER(surface_id) | 92 IPC_STRUCT_TRAITS_MEMBER(surface_id) |
89 IPC_STRUCT_TRAITS_END() | 93 IPC_STRUCT_TRAITS_END() |
90 | 94 |
91 IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad) | 95 IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad) |
92 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 96 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
93 IPC_STRUCT_TRAITS_MEMBER(overlay_resources) | 97 IPC_STRUCT_TRAITS_MEMBER(overlay_resources) |
94 IPC_STRUCT_TRAITS_MEMBER(premultiplied_alpha) | 98 IPC_STRUCT_TRAITS_MEMBER(premultiplied_alpha) |
95 IPC_STRUCT_TRAITS_MEMBER(uv_top_left) | 99 IPC_STRUCT_TRAITS_MEMBER(uv_top_left) |
96 IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right) | 100 IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right) |
97 IPC_STRUCT_TRAITS_MEMBER(background_color) | 101 IPC_STRUCT_TRAITS_MEMBER(background_color) |
98 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[0]) | 102 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[0]) |
99 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[1]) | 103 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[1]) |
100 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[2]) | 104 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[2]) |
101 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[3]) | 105 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[3]) |
102 IPC_STRUCT_TRAITS_MEMBER(y_flipped) | 106 IPC_STRUCT_TRAITS_MEMBER(y_flipped) |
103 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) | 107 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) |
104 IPC_STRUCT_TRAITS_MEMBER(secure_output_only) | 108 IPC_STRUCT_TRAITS_MEMBER(secure_output_only) |
105 IPC_STRUCT_TRAITS_END() | 109 IPC_STRUCT_TRAITS_END() |
106 | 110 |
| 111 IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad::OverlayResources) |
| 112 IPC_STRUCT_TRAITS_MEMBER(size_in_pixels) |
| 113 IPC_STRUCT_TRAITS_END() |
| 114 |
107 IPC_STRUCT_TRAITS_BEGIN(cc::TileDrawQuad) | 115 IPC_STRUCT_TRAITS_BEGIN(cc::TileDrawQuad) |
108 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 116 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
109 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) | 117 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) |
110 IPC_STRUCT_TRAITS_MEMBER(texture_size) | 118 IPC_STRUCT_TRAITS_MEMBER(texture_size) |
111 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) | 119 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) |
112 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) | 120 IPC_STRUCT_TRAITS_MEMBER(nearest_neighbor) |
113 IPC_STRUCT_TRAITS_END() | 121 IPC_STRUCT_TRAITS_END() |
114 | 122 |
115 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) | 123 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) |
116 IPC_STRUCT_TRAITS_MEMBER(quad_to_target_transform) | 124 IPC_STRUCT_TRAITS_MEMBER(quad_to_target_transform) |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) | 197 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) |
190 IPC_STRUCT_TRAITS_END() | 198 IPC_STRUCT_TRAITS_END() |
191 | 199 |
192 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceInfo) | 200 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceInfo) |
193 IPC_STRUCT_TRAITS_MEMBER(id_) | 201 IPC_STRUCT_TRAITS_MEMBER(id_) |
194 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor_) | 202 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor_) |
195 IPC_STRUCT_TRAITS_MEMBER(size_in_pixels_) | 203 IPC_STRUCT_TRAITS_MEMBER(size_in_pixels_) |
196 IPC_STRUCT_TRAITS_END() | 204 IPC_STRUCT_TRAITS_END() |
197 | 205 |
198 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 206 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |