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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
133 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) | 133 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) |
134 IPC_STRUCT_TRAITS_MEMBER(id) | 134 IPC_STRUCT_TRAITS_MEMBER(id) |
135 IPC_STRUCT_TRAITS_MEMBER(format) | 135 IPC_STRUCT_TRAITS_MEMBER(format) |
136 IPC_STRUCT_TRAITS_MEMBER(filter) | 136 IPC_STRUCT_TRAITS_MEMBER(filter) |
137 IPC_STRUCT_TRAITS_MEMBER(size) | 137 IPC_STRUCT_TRAITS_MEMBER(size) |
138 IPC_STRUCT_TRAITS_MEMBER(mailbox_holder) | 138 IPC_STRUCT_TRAITS_MEMBER(mailbox_holder) |
139 IPC_STRUCT_TRAITS_MEMBER(read_lock_fences_enabled) | 139 IPC_STRUCT_TRAITS_MEMBER(read_lock_fences_enabled) |
140 IPC_STRUCT_TRAITS_MEMBER(is_software) | 140 IPC_STRUCT_TRAITS_MEMBER(is_software) |
141 IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate) | 141 IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate) |
142 IPC_STRUCT_TRAITS_MEMBER(color_space) | 142 IPC_STRUCT_TRAITS_MEMBER(color_space) |
143 #if defined(OS_ANDROID) | |
144 IPC_STRUCT_TRAITS_MEMBER(is_backed_by_surface_texture) | |
145 #endif | |
146 IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate) | |
piman
2016/11/23 00:37:25
nit: is_overlay_candidate is already on l.141
liberato (no reviews please)
2016/12/01 20:59:11
Done.
| |
143 IPC_STRUCT_TRAITS_END() | 147 IPC_STRUCT_TRAITS_END() |
144 | 148 |
145 IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource) | 149 IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource) |
146 IPC_STRUCT_TRAITS_MEMBER(id) | 150 IPC_STRUCT_TRAITS_MEMBER(id) |
147 IPC_STRUCT_TRAITS_MEMBER(sync_token) | 151 IPC_STRUCT_TRAITS_MEMBER(sync_token) |
148 IPC_STRUCT_TRAITS_MEMBER(count) | 152 IPC_STRUCT_TRAITS_MEMBER(count) |
149 IPC_STRUCT_TRAITS_MEMBER(lost) | 153 IPC_STRUCT_TRAITS_MEMBER(lost) |
150 IPC_STRUCT_TRAITS_END() | 154 IPC_STRUCT_TRAITS_END() |
151 | 155 |
152 IPC_STRUCT_TRAITS_BEGIN(cc::Selection<gfx::SelectionBound>) | 156 IPC_STRUCT_TRAITS_BEGIN(cc::Selection<gfx::SelectionBound>) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
185 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) | 189 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) |
186 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) | 190 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) |
187 IPC_STRUCT_TRAITS_MEMBER(root_background_color) | 191 IPC_STRUCT_TRAITS_MEMBER(root_background_color) |
188 IPC_STRUCT_TRAITS_MEMBER(selection) | 192 IPC_STRUCT_TRAITS_MEMBER(selection) |
189 IPC_STRUCT_TRAITS_MEMBER(latency_info) | 193 IPC_STRUCT_TRAITS_MEMBER(latency_info) |
190 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) | 194 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) |
191 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) | 195 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) |
192 IPC_STRUCT_TRAITS_END() | 196 IPC_STRUCT_TRAITS_END() |
193 | 197 |
194 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 198 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |