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

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

Issue 12614013: Plumb cc::LatencyInfo through command buffer and output surface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/debug/latency_info.h"
7 #include "cc/layers/video_layer_impl.h" 8 #include "cc/layers/video_layer_impl.h"
8 #include "cc/output/compositor_frame.h" 9 #include "cc/output/compositor_frame.h"
9 #include "cc/output/compositor_frame_ack.h" 10 #include "cc/output/compositor_frame_ack.h"
10 #include "cc/quads/checkerboard_draw_quad.h" 11 #include "cc/quads/checkerboard_draw_quad.h"
11 #include "cc/quads/debug_border_draw_quad.h" 12 #include "cc/quads/debug_border_draw_quad.h"
12 #include "cc/quads/draw_quad.h" 13 #include "cc/quads/draw_quad.h"
13 #include "cc/quads/io_surface_draw_quad.h" 14 #include "cc/quads/io_surface_draw_quad.h"
14 #include "cc/quads/picture_draw_quad.h" 15 #include "cc/quads/picture_draw_quad.h"
15 #include "cc/quads/render_pass.h" 16 #include "cc/quads/render_pass.h"
16 #include "cc/quads/render_pass_draw_quad.h" 17 #include "cc/quads/render_pass_draw_quad.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 211
211 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) 212 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource)
212 IPC_STRUCT_TRAITS_MEMBER(id) 213 IPC_STRUCT_TRAITS_MEMBER(id)
213 IPC_STRUCT_TRAITS_MEMBER(sync_point) 214 IPC_STRUCT_TRAITS_MEMBER(sync_point)
214 IPC_STRUCT_TRAITS_MEMBER(format) 215 IPC_STRUCT_TRAITS_MEMBER(format)
215 IPC_STRUCT_TRAITS_MEMBER(filter) 216 IPC_STRUCT_TRAITS_MEMBER(filter)
216 IPC_STRUCT_TRAITS_MEMBER(size) 217 IPC_STRUCT_TRAITS_MEMBER(size)
217 IPC_STRUCT_TRAITS_MEMBER(mailbox) 218 IPC_STRUCT_TRAITS_MEMBER(mailbox)
218 IPC_STRUCT_TRAITS_END() 219 IPC_STRUCT_TRAITS_END()
219 220
221 IPC_STRUCT_TRAITS_BEGIN(cc::LatencyInfo)
222 IPC_STRUCT_TRAITS_MEMBER(renderer_main_frame_number)
223 IPC_STRUCT_TRAITS_MEMBER(renderer_impl_frame_number)
224 IPC_STRUCT_TRAITS_MEMBER(browser_main_frame_number)
225 IPC_STRUCT_TRAITS_MEMBER(browser_impl_frame_number)
226 IPC_STRUCT_TRAITS_MEMBER(swap_timestamp)
227 IPC_STRUCT_TRAITS_END()
228
220 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) 229 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
221 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) 230 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
222 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) 231 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
223 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) 232 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor)
224 IPC_STRUCT_TRAITS_MEMBER(viewport_size) 233 IPC_STRUCT_TRAITS_MEMBER(viewport_size)
225 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) 234 IPC_STRUCT_TRAITS_MEMBER(root_layer_size)
226 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) 235 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor)
227 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) 236 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor)
228 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset) 237 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset)
229 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation) 238 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation)
230 IPC_STRUCT_TRAITS_MEMBER(overdraw_bottom_height) 239 IPC_STRUCT_TRAITS_MEMBER(overdraw_bottom_height)
231 IPC_STRUCT_TRAITS_END() 240 IPC_STRUCT_TRAITS_END()
232 241
233 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) 242 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData)
234 IPC_STRUCT_TRAITS_MEMBER(mailbox) 243 IPC_STRUCT_TRAITS_MEMBER(mailbox)
235 IPC_STRUCT_TRAITS_MEMBER(sync_point) 244 IPC_STRUCT_TRAITS_MEMBER(sync_point)
236 IPC_STRUCT_TRAITS_MEMBER(size) 245 IPC_STRUCT_TRAITS_MEMBER(size)
237 IPC_STRUCT_TRAITS_END() 246 IPC_STRUCT_TRAITS_END()
238 247
239 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) 248 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData)
240 IPC_STRUCT_TRAITS_MEMBER(size) 249 IPC_STRUCT_TRAITS_MEMBER(size)
241 IPC_STRUCT_TRAITS_MEMBER(damage_rect) 250 IPC_STRUCT_TRAITS_MEMBER(damage_rect)
242 IPC_STRUCT_TRAITS_MEMBER(dib_id) 251 IPC_STRUCT_TRAITS_MEMBER(dib_id)
243 IPC_STRUCT_TRAITS_END() 252 IPC_STRUCT_TRAITS_END()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698