OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // IPC Messages sent between compositor instances. | 5 // IPC Messages sent between compositor instances. |
6 | 6 |
7 #include "cc/output/begin_frame_args.h" | 7 #include "cc/output/begin_frame_args.h" |
8 #include "cc/output/compositor_frame.h" | 8 #include "cc/output/compositor_frame.h" |
9 #include "cc/output/compositor_frame_ack.h" | 9 #include "cc/output/compositor_frame_ack.h" |
10 #include "cc/output/filter_operation.h" | 10 #include "cc/output/filter_operation.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } // namespace IPC | 109 } // namespace IPC |
110 | 110 |
111 #endif // CONTENT_COMMON_CC_MESSAGES_H_ | 111 #endif // CONTENT_COMMON_CC_MESSAGES_H_ |
112 | 112 |
113 // Multiply-included message file, hence no include guard. | 113 // Multiply-included message file, hence no include guard. |
114 | 114 |
115 #define IPC_MESSAGE_START CCMsgStart | 115 #define IPC_MESSAGE_START CCMsgStart |
116 #undef IPC_MESSAGE_EXPORT | 116 #undef IPC_MESSAGE_EXPORT |
117 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 117 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
118 | 118 |
119 IPC_ENUM_TRAITS(cc::DrawQuad::Material) | 119 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST) |
120 IPC_ENUM_TRAITS(cc::IOSurfaceDrawQuad::Orientation) | 120 IPC_ENUM_TRAITS_MAX_VALUE(cc::IOSurfaceDrawQuad::Orientation, |
121 IPC_ENUM_TRAITS(cc::FilterOperation::FilterType) | 121 cc::IOSurfaceDrawQuad::ORIENTATION_LAST) |
| 122 IPC_ENUM_TRAITS_MAX_VALUE(cc::FilterOperation::FilterType, |
| 123 cc::FilterOperation::FILTER_TYPE_LAST ) |
122 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX) | 124 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX) |
123 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) | 125 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) |
124 | 126 |
125 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id) | 127 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id) |
126 IPC_STRUCT_TRAITS_MEMBER(layer_id) | 128 IPC_STRUCT_TRAITS_MEMBER(layer_id) |
127 IPC_STRUCT_TRAITS_MEMBER(index) | 129 IPC_STRUCT_TRAITS_MEMBER(index) |
128 IPC_STRUCT_TRAITS_END() | 130 IPC_STRUCT_TRAITS_END() |
129 | 131 |
130 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) | 132 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) |
131 IPC_STRUCT_TRAITS_MEMBER(material) | 133 IPC_STRUCT_TRAITS_MEMBER(material) |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 IPC_STRUCT_TRAITS_MEMBER(size) | 268 IPC_STRUCT_TRAITS_MEMBER(size) |
267 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) | 269 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) |
268 IPC_STRUCT_TRAITS_END() | 270 IPC_STRUCT_TRAITS_END() |
269 | 271 |
270 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) | 272 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) |
271 IPC_STRUCT_TRAITS_MEMBER(id) | 273 IPC_STRUCT_TRAITS_MEMBER(id) |
272 IPC_STRUCT_TRAITS_MEMBER(size) | 274 IPC_STRUCT_TRAITS_MEMBER(size) |
273 IPC_STRUCT_TRAITS_MEMBER(damage_rect) | 275 IPC_STRUCT_TRAITS_MEMBER(damage_rect) |
274 IPC_STRUCT_TRAITS_MEMBER(handle) | 276 IPC_STRUCT_TRAITS_MEMBER(handle) |
275 IPC_STRUCT_TRAITS_END() | 277 IPC_STRUCT_TRAITS_END() |
OLD | NEW |