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

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

Issue 23097005: cc: return resources via a ReturnedResource struct rather than TransferableResource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: post-rebase fixes Created 7 years, 4 months 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 | Annotate | Revision Log
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) 215 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource)
216 IPC_STRUCT_TRAITS_MEMBER(id) 216 IPC_STRUCT_TRAITS_MEMBER(id)
217 IPC_STRUCT_TRAITS_MEMBER(sync_point) 217 IPC_STRUCT_TRAITS_MEMBER(sync_point)
218 IPC_STRUCT_TRAITS_MEMBER(format) 218 IPC_STRUCT_TRAITS_MEMBER(format)
219 IPC_STRUCT_TRAITS_MEMBER(filter) 219 IPC_STRUCT_TRAITS_MEMBER(filter)
220 IPC_STRUCT_TRAITS_MEMBER(size) 220 IPC_STRUCT_TRAITS_MEMBER(size)
221 IPC_STRUCT_TRAITS_MEMBER(mailbox) 221 IPC_STRUCT_TRAITS_MEMBER(mailbox)
222 IPC_STRUCT_TRAITS_END() 222 IPC_STRUCT_TRAITS_END()
223 223
224 IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource)
225 IPC_STRUCT_TRAITS_MEMBER(id)
226 IPC_STRUCT_TRAITS_MEMBER(sync_point)
227 IPC_STRUCT_TRAITS_MEMBER(filter)
228 IPC_STRUCT_TRAITS_MEMBER(count)
229 IPC_STRUCT_TRAITS_END()
230
224 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) 231 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs)
225 IPC_STRUCT_TRAITS_MEMBER(frame_time) 232 IPC_STRUCT_TRAITS_MEMBER(frame_time)
226 IPC_STRUCT_TRAITS_MEMBER(deadline) 233 IPC_STRUCT_TRAITS_MEMBER(deadline)
227 IPC_STRUCT_TRAITS_MEMBER(interval) 234 IPC_STRUCT_TRAITS_MEMBER(interval)
228 IPC_STRUCT_TRAITS_END() 235 IPC_STRUCT_TRAITS_END()
229 236
230 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) 237 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
231 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) 238 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
232 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) 239 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
233 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) 240 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor)
(...skipping 13 matching lines...) Expand all
247 IPC_STRUCT_TRAITS_MEMBER(size) 254 IPC_STRUCT_TRAITS_MEMBER(size)
248 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 255 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
249 IPC_STRUCT_TRAITS_END() 256 IPC_STRUCT_TRAITS_END()
250 257
251 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) 258 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData)
252 IPC_STRUCT_TRAITS_MEMBER(id) 259 IPC_STRUCT_TRAITS_MEMBER(id)
253 IPC_STRUCT_TRAITS_MEMBER(size) 260 IPC_STRUCT_TRAITS_MEMBER(size)
254 IPC_STRUCT_TRAITS_MEMBER(damage_rect) 261 IPC_STRUCT_TRAITS_MEMBER(damage_rect)
255 IPC_STRUCT_TRAITS_MEMBER(handle) 262 IPC_STRUCT_TRAITS_MEMBER(handle)
256 IPC_STRUCT_TRAITS_END() 263 IPC_STRUCT_TRAITS_END()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698