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/input/selection_bound_type.h" | 8 #include "cc/input/selection_bound_type.h" |
9 #include "cc/output/begin_frame_args.h" | 9 #include "cc/output/begin_frame_args.h" |
10 #include "cc/output/compositor_frame.h" | 10 #include "cc/output/compositor_frame.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) | 42 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) |
43 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace, | 43 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace, |
44 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST) | 44 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST) |
45 | 45 |
46 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId) | 46 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId) |
47 IPC_STRUCT_TRAITS_MEMBER(layer_id) | 47 IPC_STRUCT_TRAITS_MEMBER(layer_id) |
48 IPC_STRUCT_TRAITS_MEMBER(index) | 48 IPC_STRUCT_TRAITS_MEMBER(index) |
49 IPC_STRUCT_TRAITS_END() | 49 IPC_STRUCT_TRAITS_END() |
50 | 50 |
51 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceId) | 51 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceId) |
52 IPC_STRUCT_TRAITS_MEMBER(id) | 52 IPC_STRUCT_TRAITS_MEMBER(id_namespace) |
| 53 IPC_STRUCT_TRAITS_MEMBER(local_id) |
53 IPC_STRUCT_TRAITS_END() | 54 IPC_STRUCT_TRAITS_END() |
54 | 55 |
55 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence) | 56 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence) |
56 IPC_STRUCT_TRAITS_MEMBER(id_namespace) | 57 IPC_STRUCT_TRAITS_MEMBER(id_namespace) |
57 IPC_STRUCT_TRAITS_MEMBER(sequence) | 58 IPC_STRUCT_TRAITS_MEMBER(sequence) |
58 IPC_STRUCT_TRAITS_END() | 59 IPC_STRUCT_TRAITS_END() |
59 | 60 |
60 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) | 61 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) |
61 IPC_STRUCT_TRAITS_MEMBER(material) | 62 IPC_STRUCT_TRAITS_MEMBER(material) |
62 IPC_STRUCT_TRAITS_MEMBER(rect) | 63 IPC_STRUCT_TRAITS_MEMBER(rect) |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 IPC_STRUCT_TRAITS_END() | 209 IPC_STRUCT_TRAITS_END() |
209 | 210 |
210 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) | 211 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) |
211 IPC_STRUCT_TRAITS_MEMBER(mailbox) | 212 IPC_STRUCT_TRAITS_MEMBER(mailbox) |
212 IPC_STRUCT_TRAITS_MEMBER(sync_token) | 213 IPC_STRUCT_TRAITS_MEMBER(sync_token) |
213 IPC_STRUCT_TRAITS_MEMBER(size) | 214 IPC_STRUCT_TRAITS_MEMBER(size) |
214 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) | 215 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) |
215 IPC_STRUCT_TRAITS_END() | 216 IPC_STRUCT_TRAITS_END() |
216 | 217 |
217 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 218 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |