Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: content/common/cc_messages.h

Issue 23455060: mix-blend-mode implementation for accelerated layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unittests fixed Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/occlusion_tracker.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Multiply-included message file, hence no include guard. 112 // Multiply-included message file, hence no include guard.
113 113
114 #define IPC_MESSAGE_START CCMsgStart 114 #define IPC_MESSAGE_START CCMsgStart
115 #undef IPC_MESSAGE_EXPORT 115 #undef IPC_MESSAGE_EXPORT
116 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 116 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
117 117
118 IPC_ENUM_TRAITS(cc::DrawQuad::Material) 118 IPC_ENUM_TRAITS(cc::DrawQuad::Material)
119 IPC_ENUM_TRAITS(cc::IOSurfaceDrawQuad::Orientation) 119 IPC_ENUM_TRAITS(cc::IOSurfaceDrawQuad::Orientation)
120 IPC_ENUM_TRAITS(cc::FilterOperation::FilterType) 120 IPC_ENUM_TRAITS(cc::FilterOperation::FilterType)
121 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX) 121 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX)
122 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode)
122 123
123 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id) 124 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id)
124 IPC_STRUCT_TRAITS_MEMBER(layer_id) 125 IPC_STRUCT_TRAITS_MEMBER(layer_id)
125 IPC_STRUCT_TRAITS_MEMBER(index) 126 IPC_STRUCT_TRAITS_MEMBER(index)
126 IPC_STRUCT_TRAITS_END() 127 IPC_STRUCT_TRAITS_END()
127 128
128 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) 129 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad)
129 IPC_STRUCT_TRAITS_MEMBER(material) 130 IPC_STRUCT_TRAITS_MEMBER(material)
130 IPC_STRUCT_TRAITS_MEMBER(rect) 131 IPC_STRUCT_TRAITS_MEMBER(rect)
131 IPC_STRUCT_TRAITS_MEMBER(opaque_rect) 132 IPC_STRUCT_TRAITS_MEMBER(opaque_rect)
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 IPC_STRUCT_TRAITS_MEMBER(a_plane_resource_id) 206 IPC_STRUCT_TRAITS_MEMBER(a_plane_resource_id)
206 IPC_STRUCT_TRAITS_END() 207 IPC_STRUCT_TRAITS_END()
207 208
208 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) 209 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState)
209 IPC_STRUCT_TRAITS_MEMBER(content_to_target_transform) 210 IPC_STRUCT_TRAITS_MEMBER(content_to_target_transform)
210 IPC_STRUCT_TRAITS_MEMBER(content_bounds) 211 IPC_STRUCT_TRAITS_MEMBER(content_bounds)
211 IPC_STRUCT_TRAITS_MEMBER(visible_content_rect) 212 IPC_STRUCT_TRAITS_MEMBER(visible_content_rect)
212 IPC_STRUCT_TRAITS_MEMBER(clip_rect) 213 IPC_STRUCT_TRAITS_MEMBER(clip_rect)
213 IPC_STRUCT_TRAITS_MEMBER(is_clipped) 214 IPC_STRUCT_TRAITS_MEMBER(is_clipped)
214 IPC_STRUCT_TRAITS_MEMBER(opacity) 215 IPC_STRUCT_TRAITS_MEMBER(opacity)
216 IPC_STRUCT_TRAITS_MEMBER(blend_mode)
215 IPC_STRUCT_TRAITS_END() 217 IPC_STRUCT_TRAITS_END()
216 218
217 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) 219 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource)
218 IPC_STRUCT_TRAITS_MEMBER(id) 220 IPC_STRUCT_TRAITS_MEMBER(id)
219 IPC_STRUCT_TRAITS_MEMBER(sync_point) 221 IPC_STRUCT_TRAITS_MEMBER(sync_point)
220 IPC_STRUCT_TRAITS_MEMBER(format) 222 IPC_STRUCT_TRAITS_MEMBER(format)
221 IPC_STRUCT_TRAITS_MEMBER(target) 223 IPC_STRUCT_TRAITS_MEMBER(target)
222 IPC_STRUCT_TRAITS_MEMBER(filter) 224 IPC_STRUCT_TRAITS_MEMBER(filter)
223 IPC_STRUCT_TRAITS_MEMBER(size) 225 IPC_STRUCT_TRAITS_MEMBER(size)
224 IPC_STRUCT_TRAITS_MEMBER(mailbox) 226 IPC_STRUCT_TRAITS_MEMBER(mailbox)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 IPC_STRUCT_TRAITS_MEMBER(size) 260 IPC_STRUCT_TRAITS_MEMBER(size)
259 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 261 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
260 IPC_STRUCT_TRAITS_END() 262 IPC_STRUCT_TRAITS_END()
261 263
262 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) 264 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData)
263 IPC_STRUCT_TRAITS_MEMBER(id) 265 IPC_STRUCT_TRAITS_MEMBER(id)
264 IPC_STRUCT_TRAITS_MEMBER(size) 266 IPC_STRUCT_TRAITS_MEMBER(size)
265 IPC_STRUCT_TRAITS_MEMBER(damage_rect) 267 IPC_STRUCT_TRAITS_MEMBER(damage_rect)
266 IPC_STRUCT_TRAITS_MEMBER(handle) 268 IPC_STRUCT_TRAITS_MEMBER(handle)
267 IPC_STRUCT_TRAITS_END() 269 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « cc/trees/occlusion_tracker.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698