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

Unified 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 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 42e97e419e13449a165990f1b0f48beaee13e291..e2a6a8d971abf6c4a88ee93708cf74f1ee6b9230 100644
--- a/cc/ipc/cc_param_traits_macros.h
+++ b/cc/ipc/cc_param_traits_macros.h
@@ -175,6 +175,14 @@ IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs)
IPC_STRUCT_TRAITS_MEMBER(type)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameAck)
+ IPC_STRUCT_TRAITS_MEMBER(sequence_number)
+ 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
+ IPC_STRUCT_TRAITS_MEMBER(source_id)
+ 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
+ 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
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
@@ -198,6 +206,7 @@ IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
IPC_STRUCT_TRAITS_MEMBER(latency_info)
IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
IPC_STRUCT_TRAITS_MEMBER(content_source_id)
+ IPC_STRUCT_TRAITS_MEMBER(begin_frame_ack)
IPC_STRUCT_TRAITS_END()
#endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_

Powered by Google App Engine
This is Rietveld 408576698