| Index: content/common/cc_messages.h
|
| diff --git a/content/common/cc_messages.h b/content/common/cc_messages.h
|
| index f6e907da04fe951e96adc4ad2d60145f7bcf6625..52fa9818266f11ca299ea4c0732aa3b9cfc04fe4 100644
|
| --- a/content/common/cc_messages.h
|
| +++ b/content/common/cc_messages.h
|
| @@ -117,6 +117,14 @@ struct CONTENT_EXPORT ParamTraits<cc::SoftwareFrameData> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template <>
|
| +struct CONTENT_EXPORT ParamTraits<cc::DrawQuad::Resources> {
|
| + typedef cc::DrawQuad::Resources param_type;
|
| + static void Write(Message* m, const param_type& p);
|
| + static bool Read(const Message* m, PickleIterator* iter, param_type* p);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| } // namespace IPC
|
|
|
| #endif // CONTENT_COMMON_CC_MESSAGES_H_
|
| @@ -153,6 +161,7 @@ IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad)
|
| IPC_STRUCT_TRAITS_MEMBER(opaque_rect)
|
| IPC_STRUCT_TRAITS_MEMBER(visible_rect)
|
| IPC_STRUCT_TRAITS_MEMBER(needs_blending)
|
| + IPC_STRUCT_TRAITS_MEMBER(resources)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| IPC_STRUCT_TRAITS_BEGIN(cc::CheckerboardDrawQuad)
|
| @@ -170,14 +179,12 @@ IPC_STRUCT_TRAITS_END()
|
| IPC_STRUCT_TRAITS_BEGIN(cc::IOSurfaceDrawQuad)
|
| IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
|
| IPC_STRUCT_TRAITS_MEMBER(io_surface_size)
|
| - IPC_STRUCT_TRAITS_MEMBER(io_surface_resource_id)
|
| IPC_STRUCT_TRAITS_MEMBER(orientation)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassDrawQuad)
|
| IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
|
| IPC_STRUCT_TRAITS_MEMBER(render_pass_id)
|
| - IPC_STRUCT_TRAITS_MEMBER(mask_resource_id)
|
| IPC_STRUCT_TRAITS_MEMBER(mask_uv_scale)
|
| IPC_STRUCT_TRAITS_MEMBER(mask_texture_size)
|
| IPC_STRUCT_TRAITS_MEMBER(filters)
|
| @@ -193,7 +200,6 @@ IPC_STRUCT_TRAITS_END()
|
|
|
| IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad)
|
| IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
|
| - IPC_STRUCT_TRAITS_MEMBER(resource_id)
|
| IPC_STRUCT_TRAITS_MEMBER(matrix)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| @@ -204,7 +210,6 @@ IPC_STRUCT_TRAITS_END()
|
|
|
| IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad)
|
| IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
|
| - IPC_STRUCT_TRAITS_MEMBER(resource_id)
|
| IPC_STRUCT_TRAITS_MEMBER(premultiplied_alpha)
|
| IPC_STRUCT_TRAITS_MEMBER(uv_top_left)
|
| IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right)
|
| @@ -219,7 +224,6 @@ IPC_STRUCT_TRAITS_END()
|
|
|
| IPC_STRUCT_TRAITS_BEGIN(cc::TileDrawQuad)
|
| IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
|
| - IPC_STRUCT_TRAITS_MEMBER(resource_id)
|
| IPC_STRUCT_TRAITS_MEMBER(tex_coord_rect)
|
| IPC_STRUCT_TRAITS_MEMBER(texture_size)
|
| IPC_STRUCT_TRAITS_MEMBER(swizzle_contents)
|
| @@ -232,10 +236,6 @@ IPC_STRUCT_TRAITS_BEGIN(cc::YUVVideoDrawQuad)
|
| IPC_STRUCT_TRAITS_MEMBER(uv_tex_coord_rect)
|
| IPC_STRUCT_TRAITS_MEMBER(ya_tex_size)
|
| IPC_STRUCT_TRAITS_MEMBER(uv_tex_size)
|
| - IPC_STRUCT_TRAITS_MEMBER(y_plane_resource_id)
|
| - IPC_STRUCT_TRAITS_MEMBER(u_plane_resource_id)
|
| - IPC_STRUCT_TRAITS_MEMBER(v_plane_resource_id)
|
| - IPC_STRUCT_TRAITS_MEMBER(a_plane_resource_id)
|
| IPC_STRUCT_TRAITS_MEMBER(color_space)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
|
|