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 30 matching lines...) Expand all Loading... |
41 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) | 41 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) |
42 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace, | 42 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace, |
43 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST) | 43 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST) |
44 | 44 |
45 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId) | 45 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId) |
46 IPC_STRUCT_TRAITS_MEMBER(layer_id) | 46 IPC_STRUCT_TRAITS_MEMBER(layer_id) |
47 IPC_STRUCT_TRAITS_MEMBER(index) | 47 IPC_STRUCT_TRAITS_MEMBER(index) |
48 IPC_STRUCT_TRAITS_END() | 48 IPC_STRUCT_TRAITS_END() |
49 | 49 |
50 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence) | 50 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence) |
51 IPC_STRUCT_TRAITS_MEMBER(client_id) | 51 IPC_STRUCT_TRAITS_MEMBER(frame_sink_id) |
52 IPC_STRUCT_TRAITS_MEMBER(sequence) | 52 IPC_STRUCT_TRAITS_MEMBER(sequence) |
53 IPC_STRUCT_TRAITS_END() | 53 IPC_STRUCT_TRAITS_END() |
54 | 54 |
55 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) | 55 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) |
56 IPC_STRUCT_TRAITS_MEMBER(material) | 56 IPC_STRUCT_TRAITS_MEMBER(material) |
57 IPC_STRUCT_TRAITS_MEMBER(rect) | 57 IPC_STRUCT_TRAITS_MEMBER(rect) |
58 IPC_STRUCT_TRAITS_MEMBER(opaque_rect) | 58 IPC_STRUCT_TRAITS_MEMBER(opaque_rect) |
59 IPC_STRUCT_TRAITS_MEMBER(visible_rect) | 59 IPC_STRUCT_TRAITS_MEMBER(visible_rect) |
60 IPC_STRUCT_TRAITS_MEMBER(needs_blending) | 60 IPC_STRUCT_TRAITS_MEMBER(needs_blending) |
61 IPC_STRUCT_TRAITS_MEMBER(resources) | 61 IPC_STRUCT_TRAITS_MEMBER(resources) |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) | 190 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) |
191 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) | 191 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) |
192 IPC_STRUCT_TRAITS_END() | 192 IPC_STRUCT_TRAITS_END() |
193 | 193 |
194 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) | 194 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) |
195 IPC_STRUCT_TRAITS_MEMBER(size) | 195 IPC_STRUCT_TRAITS_MEMBER(size) |
196 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) | 196 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) |
197 IPC_STRUCT_TRAITS_END() | 197 IPC_STRUCT_TRAITS_END() |
198 | 198 |
199 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 199 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |