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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 #undef IPC_MESSAGE_EXPORT | 32 #undef IPC_MESSAGE_EXPORT |
33 #define IPC_MESSAGE_EXPORT CC_IPC_EXPORT | 33 #define IPC_MESSAGE_EXPORT CC_IPC_EXPORT |
34 | 34 |
35 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST) | 35 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST) |
36 IPC_ENUM_TRAITS_MAX_VALUE(cc::FilterOperation::FilterType, | 36 IPC_ENUM_TRAITS_MAX_VALUE(cc::FilterOperation::FilterType, |
37 cc::FilterOperation::FILTER_TYPE_LAST) | 37 cc::FilterOperation::FILTER_TYPE_LAST) |
38 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX) | 38 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX) |
39 | 39 |
40 // TODO(fsamuel): This trait belongs with skia code. | 40 // TODO(fsamuel): This trait belongs with skia code. |
41 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) | 41 IPC_ENUM_TRAITS_MAX_VALUE(SkBlendMode, SkBlendMode::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(frame_sink_id) | 51 IPC_STRUCT_TRAITS_MEMBER(frame_sink_id) |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) | 185 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) |
186 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) | 186 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) |
187 IPC_STRUCT_TRAITS_MEMBER(root_background_color) | 187 IPC_STRUCT_TRAITS_MEMBER(root_background_color) |
188 IPC_STRUCT_TRAITS_MEMBER(selection) | 188 IPC_STRUCT_TRAITS_MEMBER(selection) |
189 IPC_STRUCT_TRAITS_MEMBER(latency_info) | 189 IPC_STRUCT_TRAITS_MEMBER(latency_info) |
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 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 194 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |