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

Side by Side Diff: cc/ipc/cc_param_traits_macros.h

Issue 2740833005: [cc] Pass on BeginFrameAcks from CompositorEBFS through RWHVAura, DFH. (Closed)
Patch Set: updated mojoms, rename new IPC. Created 3 years, 9 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 5 #ifndef CC_IPC_CC_PARAM_TRAITS_MACROS_H_
6 #define CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 6 #define CC_IPC_CC_PARAM_TRAITS_MACROS_H_
7 7
8 #include "cc/output/begin_frame_args.h" 8 #include "cc/output/begin_frame_args.h"
9 #include "cc/output/compositor_frame.h" 9 #include "cc/output/compositor_frame.h"
10 #include "cc/output/filter_operation.h" 10 #include "cc/output/filter_operation.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) 169 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs)
170 IPC_STRUCT_TRAITS_MEMBER(frame_time) 170 IPC_STRUCT_TRAITS_MEMBER(frame_time)
171 IPC_STRUCT_TRAITS_MEMBER(deadline) 171 IPC_STRUCT_TRAITS_MEMBER(deadline)
172 IPC_STRUCT_TRAITS_MEMBER(interval) 172 IPC_STRUCT_TRAITS_MEMBER(interval)
173 IPC_STRUCT_TRAITS_MEMBER(sequence_number) 173 IPC_STRUCT_TRAITS_MEMBER(sequence_number)
174 IPC_STRUCT_TRAITS_MEMBER(source_id) 174 IPC_STRUCT_TRAITS_MEMBER(source_id)
175 IPC_STRUCT_TRAITS_MEMBER(type) 175 IPC_STRUCT_TRAITS_MEMBER(type)
176 IPC_STRUCT_TRAITS_END() 176 IPC_STRUCT_TRAITS_END()
177 177
178 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameAck)
179 IPC_STRUCT_TRAITS_MEMBER(sequence_number)
180 IPC_STRUCT_TRAITS_MEMBER(latest_confirmed_sequence_number)
piman 2017/03/14 20:06:44 Are there assumptions about this? E.g. I assume it
Eric Seckler 2017/03/15 11:56:48 Since BeginFrameAcks can generally be sent asynchr
181 IPC_STRUCT_TRAITS_MEMBER(source_id)
182 IPC_STRUCT_TRAITS_MEMBER(remaining_frames)
piman 2017/03/14 20:06:44 Ditto here, any assumptions relative to sequence_n
Eric Seckler 2017/03/15 11:56:48 remaining_frames is a remnant that doesn't have a
183 IPC_STRUCT_TRAITS_MEMBER(has_damage)
piman 2017/03/14 20:06:44 Is it necessary to send |has_damage| over IPC? It
Eric Seckler 2017/03/15 11:56:48 Yes, it's not necessary - we can set it when we re
184 IPC_STRUCT_TRAITS_END()
185
178 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) 186 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
179 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) 187 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
180 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) 188 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
181 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) 189 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor)
182 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) 190 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size)
183 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) 191 IPC_STRUCT_TRAITS_MEMBER(root_layer_size)
184 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) 192 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor)
185 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) 193 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor)
186 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) 194 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden)
187 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) 195 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden)
188 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) 196 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden)
189 IPC_STRUCT_TRAITS_MEMBER(may_contain_video) 197 IPC_STRUCT_TRAITS_MEMBER(may_contain_video)
190 IPC_STRUCT_TRAITS_MEMBER( 198 IPC_STRUCT_TRAITS_MEMBER(
191 is_resourceless_software_draw_with_scroll_or_animation) 199 is_resourceless_software_draw_with_scroll_or_animation)
192 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) 200 IPC_STRUCT_TRAITS_MEMBER(top_controls_height)
193 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) 201 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio)
194 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) 202 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height)
195 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) 203 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio)
196 IPC_STRUCT_TRAITS_MEMBER(root_background_color) 204 IPC_STRUCT_TRAITS_MEMBER(root_background_color)
197 IPC_STRUCT_TRAITS_MEMBER(selection) 205 IPC_STRUCT_TRAITS_MEMBER(selection)
198 IPC_STRUCT_TRAITS_MEMBER(latency_info) 206 IPC_STRUCT_TRAITS_MEMBER(latency_info)
199 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) 207 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
200 IPC_STRUCT_TRAITS_MEMBER(content_source_id) 208 IPC_STRUCT_TRAITS_MEMBER(content_source_id)
209 IPC_STRUCT_TRAITS_MEMBER(begin_frame_ack)
201 IPC_STRUCT_TRAITS_END() 210 IPC_STRUCT_TRAITS_END()
202 211
203 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 212 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698