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

Unified Diff: cc/ipc/cc_param_traits_macros.h

Issue 2527283003: cc: Introduce BeginFrame sequence numbers and acknowledgements.
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 side-by-side diff with in-line comments
Download patch
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 2df89c324c8fc816c5b8a9513bea8b9d4d7ff39a..69dcdfc868ebddc6e28a6105b994c8b5202a4ee5 100644
--- a/cc/ipc/cc_param_traits_macros.h
+++ b/cc/ipc/cc_param_traits_macros.h
@@ -160,12 +160,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(has_updates)
+ IPC_STRUCT_TRAITS_MEMBER(oldest_incorporated_frame)
+ IPC_STRUCT_TRAITS_MEMBER(remaining_frames)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
@@ -189,6 +199,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(oldest_incorporated_frame)
IPC_STRUCT_TRAITS_END()
#endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_

Powered by Google App Engine
This is Rietveld 408576698