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

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

Issue 2591013004: [cc] Add and use BeginFrameAck for DidFinishFrame. (Closed)
Patch Set: . Created 4 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
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) 158 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs)
159 IPC_STRUCT_TRAITS_MEMBER(source_id) 159 IPC_STRUCT_TRAITS_MEMBER(source_id)
160 IPC_STRUCT_TRAITS_MEMBER(sequence_number) 160 IPC_STRUCT_TRAITS_MEMBER(sequence_number)
161 IPC_STRUCT_TRAITS_MEMBER(frame_time) 161 IPC_STRUCT_TRAITS_MEMBER(frame_time)
162 IPC_STRUCT_TRAITS_MEMBER(deadline) 162 IPC_STRUCT_TRAITS_MEMBER(deadline)
163 IPC_STRUCT_TRAITS_MEMBER(interval) 163 IPC_STRUCT_TRAITS_MEMBER(interval)
164 IPC_STRUCT_TRAITS_MEMBER(type) 164 IPC_STRUCT_TRAITS_MEMBER(type)
165 IPC_STRUCT_TRAITS_END() 165 IPC_STRUCT_TRAITS_END()
166 166
167 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameAck)
168 IPC_STRUCT_TRAITS_MEMBER(source_id)
169 IPC_STRUCT_TRAITS_MEMBER(sequence_number)
170 IPC_STRUCT_TRAITS_MEMBER(latest_confirmed_frame)
171 IPC_STRUCT_TRAITS_MEMBER(remaining_frames)
172 IPC_STRUCT_TRAITS_MEMBER(has_damage)
173 IPC_STRUCT_TRAITS_END()
174
167 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) 175 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
168 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) 176 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
169 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) 177 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
170 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) 178 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor)
171 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) 179 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size)
172 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) 180 IPC_STRUCT_TRAITS_MEMBER(root_layer_size)
173 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) 181 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor)
174 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) 182 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor)
175 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) 183 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden)
176 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) 184 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden)
177 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) 185 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden)
178 IPC_STRUCT_TRAITS_MEMBER(may_contain_video) 186 IPC_STRUCT_TRAITS_MEMBER(may_contain_video)
179 IPC_STRUCT_TRAITS_MEMBER( 187 IPC_STRUCT_TRAITS_MEMBER(
180 is_resourceless_software_draw_with_scroll_or_animation) 188 is_resourceless_software_draw_with_scroll_or_animation)
181 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) 189 IPC_STRUCT_TRAITS_MEMBER(top_controls_height)
182 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) 190 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio)
183 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) 191 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height)
184 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) 192 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio)
185 IPC_STRUCT_TRAITS_MEMBER(root_background_color) 193 IPC_STRUCT_TRAITS_MEMBER(root_background_color)
186 IPC_STRUCT_TRAITS_MEMBER(selection) 194 IPC_STRUCT_TRAITS_MEMBER(selection)
187 IPC_STRUCT_TRAITS_MEMBER(latency_info) 195 IPC_STRUCT_TRAITS_MEMBER(latency_info)
188 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) 196 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
189 IPC_STRUCT_TRAITS_END() 197 IPC_STRUCT_TRAITS_END()
190 198
191 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 199 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698