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

Unified Diff: cc/ipc/cc_param_traits_macros.h

Issue 2527283003: cc: Introduce BeginFrame sequence numbers and acknowledgements.
Patch Set: Address Brian's comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/begin_frame_args_struct_traits.h ('k') | cc/ipc/mojo_compositor_frame_sink.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/cc_param_traits_macros.h
diff --git a/cc/ipc/cc_param_traits_macros.h b/cc/ipc/cc_param_traits_macros.h
index 831a37e1aac11fc312b1de385327c7b5a6ce4512..1241119f629f6b2a4e90517dc3775b1524421f57 100644
--- a/cc/ipc/cc_param_traits_macros.h
+++ b/cc/ipc/cc_param_traits_macros.h
@@ -154,12 +154,22 @@ IPC_ENUM_TRAITS_MAX_VALUE(cc::BeginFrameArgs::BeginFrameArgsType,
cc::BeginFrameArgs::BEGIN_FRAME_ARGS_TYPE_MAX - 1)
IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs)
+ IPC_STRUCT_TRAITS_MEMBER(source_id)
+ IPC_STRUCT_TRAITS_MEMBER(sequence_number)
IPC_STRUCT_TRAITS_MEMBER(frame_time)
IPC_STRUCT_TRAITS_MEMBER(deadline)
IPC_STRUCT_TRAITS_MEMBER(interval)
IPC_STRUCT_TRAITS_MEMBER(type)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameAck)
+ IPC_STRUCT_TRAITS_MEMBER(source_id)
+ IPC_STRUCT_TRAITS_MEMBER(sequence_number)
+ IPC_STRUCT_TRAITS_MEMBER(latest_confirmed_frame)
+ IPC_STRUCT_TRAITS_MEMBER(remaining_frames)
+ IPC_STRUCT_TRAITS_MEMBER(has_damage)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
@@ -183,6 +193,9 @@ IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
IPC_STRUCT_TRAITS_MEMBER(latency_info)
IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences)
IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
+ IPC_STRUCT_TRAITS_MEMBER(begin_frame_source_id)
+ IPC_STRUCT_TRAITS_MEMBER(begin_frame_number)
+ IPC_STRUCT_TRAITS_MEMBER(latest_confirmed_frame)
IPC_STRUCT_TRAITS_END()
#endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
« no previous file with comments | « cc/ipc/begin_frame_args_struct_traits.h ('k') | cc/ipc/mojo_compositor_frame_sink.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698