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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) | 127 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) |
128 IPC_STRUCT_TRAITS_MEMBER(id) | 128 IPC_STRUCT_TRAITS_MEMBER(id) |
129 IPC_STRUCT_TRAITS_MEMBER(format) | 129 IPC_STRUCT_TRAITS_MEMBER(format) |
130 IPC_STRUCT_TRAITS_MEMBER(filter) | 130 IPC_STRUCT_TRAITS_MEMBER(filter) |
131 IPC_STRUCT_TRAITS_MEMBER(size) | 131 IPC_STRUCT_TRAITS_MEMBER(size) |
132 IPC_STRUCT_TRAITS_MEMBER(mailbox_holder) | 132 IPC_STRUCT_TRAITS_MEMBER(mailbox_holder) |
133 IPC_STRUCT_TRAITS_MEMBER(read_lock_fences_enabled) | 133 IPC_STRUCT_TRAITS_MEMBER(read_lock_fences_enabled) |
134 IPC_STRUCT_TRAITS_MEMBER(is_software) | 134 IPC_STRUCT_TRAITS_MEMBER(is_software) |
135 IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate) | 135 IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate) |
136 IPC_STRUCT_TRAITS_MEMBER(color_space) | 136 IPC_STRUCT_TRAITS_MEMBER(color_space) |
| 137 #if defined(OS_ANDROID) |
| 138 IPC_STRUCT_TRAITS_MEMBER(is_backed_by_surface_texture) |
| 139 IPC_STRUCT_TRAITS_MEMBER(wants_promotion_hint) |
| 140 #endif |
137 IPC_STRUCT_TRAITS_END() | 141 IPC_STRUCT_TRAITS_END() |
138 | 142 |
139 IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource) | 143 IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource) |
140 IPC_STRUCT_TRAITS_MEMBER(id) | 144 IPC_STRUCT_TRAITS_MEMBER(id) |
141 IPC_STRUCT_TRAITS_MEMBER(sync_token) | 145 IPC_STRUCT_TRAITS_MEMBER(sync_token) |
142 IPC_STRUCT_TRAITS_MEMBER(count) | 146 IPC_STRUCT_TRAITS_MEMBER(count) |
143 IPC_STRUCT_TRAITS_MEMBER(lost) | 147 IPC_STRUCT_TRAITS_MEMBER(lost) |
144 IPC_STRUCT_TRAITS_END() | 148 IPC_STRUCT_TRAITS_END() |
145 | 149 |
146 IPC_STRUCT_TRAITS_BEGIN(cc::Selection<gfx::SelectionBound>) | 150 IPC_STRUCT_TRAITS_BEGIN(cc::Selection<gfx::SelectionBound>) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) | 183 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) |
180 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) | 184 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) |
181 IPC_STRUCT_TRAITS_MEMBER(root_background_color) | 185 IPC_STRUCT_TRAITS_MEMBER(root_background_color) |
182 IPC_STRUCT_TRAITS_MEMBER(selection) | 186 IPC_STRUCT_TRAITS_MEMBER(selection) |
183 IPC_STRUCT_TRAITS_MEMBER(latency_info) | 187 IPC_STRUCT_TRAITS_MEMBER(latency_info) |
184 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) | 188 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) |
185 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) | 189 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) |
186 IPC_STRUCT_TRAITS_END() | 190 IPC_STRUCT_TRAITS_END() |
187 | 191 |
188 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 192 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |