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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 #undef IPC_MESSAGE_EXPORT | 124 #undef IPC_MESSAGE_EXPORT |
125 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 125 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
126 | 126 |
127 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST) | 127 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST) |
128 IPC_ENUM_TRAITS_MAX_VALUE(cc::IOSurfaceDrawQuad::Orientation, | 128 IPC_ENUM_TRAITS_MAX_VALUE(cc::IOSurfaceDrawQuad::Orientation, |
129 cc::IOSurfaceDrawQuad::ORIENTATION_LAST) | 129 cc::IOSurfaceDrawQuad::ORIENTATION_LAST) |
130 IPC_ENUM_TRAITS_MAX_VALUE(cc::FilterOperation::FilterType, | 130 IPC_ENUM_TRAITS_MAX_VALUE(cc::FilterOperation::FilterType, |
131 cc::FilterOperation::FILTER_TYPE_LAST ) | 131 cc::FilterOperation::FILTER_TYPE_LAST ) |
132 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX) | 132 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX) |
133 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) | 133 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) |
| 134 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace, |
| 135 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST) |
134 | 136 |
135 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id) | 137 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id) |
136 IPC_STRUCT_TRAITS_MEMBER(layer_id) | 138 IPC_STRUCT_TRAITS_MEMBER(layer_id) |
137 IPC_STRUCT_TRAITS_MEMBER(index) | 139 IPC_STRUCT_TRAITS_MEMBER(index) |
138 IPC_STRUCT_TRAITS_END() | 140 IPC_STRUCT_TRAITS_END() |
139 | 141 |
140 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) | 142 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) |
141 IPC_STRUCT_TRAITS_MEMBER(material) | 143 IPC_STRUCT_TRAITS_MEMBER(material) |
142 IPC_STRUCT_TRAITS_MEMBER(rect) | 144 IPC_STRUCT_TRAITS_MEMBER(rect) |
143 IPC_STRUCT_TRAITS_MEMBER(opaque_rect) | 145 IPC_STRUCT_TRAITS_MEMBER(opaque_rect) |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) | 215 IPC_STRUCT_TRAITS_MEMBER(swizzle_contents) |
214 IPC_STRUCT_TRAITS_END() | 216 IPC_STRUCT_TRAITS_END() |
215 | 217 |
216 IPC_STRUCT_TRAITS_BEGIN(cc::YUVVideoDrawQuad) | 218 IPC_STRUCT_TRAITS_BEGIN(cc::YUVVideoDrawQuad) |
217 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 219 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
218 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) | 220 IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect) |
219 IPC_STRUCT_TRAITS_MEMBER(y_plane_resource_id) | 221 IPC_STRUCT_TRAITS_MEMBER(y_plane_resource_id) |
220 IPC_STRUCT_TRAITS_MEMBER(u_plane_resource_id) | 222 IPC_STRUCT_TRAITS_MEMBER(u_plane_resource_id) |
221 IPC_STRUCT_TRAITS_MEMBER(v_plane_resource_id) | 223 IPC_STRUCT_TRAITS_MEMBER(v_plane_resource_id) |
222 IPC_STRUCT_TRAITS_MEMBER(a_plane_resource_id) | 224 IPC_STRUCT_TRAITS_MEMBER(a_plane_resource_id) |
| 225 IPC_STRUCT_TRAITS_MEMBER(color_space) |
223 IPC_STRUCT_TRAITS_END() | 226 IPC_STRUCT_TRAITS_END() |
224 | 227 |
225 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) | 228 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) |
226 IPC_STRUCT_TRAITS_MEMBER(content_to_target_transform) | 229 IPC_STRUCT_TRAITS_MEMBER(content_to_target_transform) |
227 IPC_STRUCT_TRAITS_MEMBER(content_bounds) | 230 IPC_STRUCT_TRAITS_MEMBER(content_bounds) |
228 IPC_STRUCT_TRAITS_MEMBER(visible_content_rect) | 231 IPC_STRUCT_TRAITS_MEMBER(visible_content_rect) |
229 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | 232 IPC_STRUCT_TRAITS_MEMBER(clip_rect) |
230 IPC_STRUCT_TRAITS_MEMBER(is_clipped) | 233 IPC_STRUCT_TRAITS_MEMBER(is_clipped) |
231 IPC_STRUCT_TRAITS_MEMBER(opacity) | 234 IPC_STRUCT_TRAITS_MEMBER(opacity) |
232 IPC_STRUCT_TRAITS_MEMBER(blend_mode) | 235 IPC_STRUCT_TRAITS_MEMBER(blend_mode) |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 IPC_STRUCT_TRAITS_MEMBER(overdraw_bottom_height) | 270 IPC_STRUCT_TRAITS_MEMBER(overdraw_bottom_height) |
268 IPC_STRUCT_TRAITS_MEMBER(latency_info) | 271 IPC_STRUCT_TRAITS_MEMBER(latency_info) |
269 IPC_STRUCT_TRAITS_END() | 272 IPC_STRUCT_TRAITS_END() |
270 | 273 |
271 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) | 274 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) |
272 IPC_STRUCT_TRAITS_MEMBER(mailbox) | 275 IPC_STRUCT_TRAITS_MEMBER(mailbox) |
273 IPC_STRUCT_TRAITS_MEMBER(sync_point) | 276 IPC_STRUCT_TRAITS_MEMBER(sync_point) |
274 IPC_STRUCT_TRAITS_MEMBER(size) | 277 IPC_STRUCT_TRAITS_MEMBER(size) |
275 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) | 278 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) |
276 IPC_STRUCT_TRAITS_END() | 279 IPC_STRUCT_TRAITS_END() |
OLD | NEW |