Index: cc/output/begin_frame_args.h |
diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h |
index 41b156ad708d33692eed652b8c58a4466df3b4f7..fa402b9f9f8df60fd241d587e9be094b4d2e24a3 100644 |
--- a/cc/output/begin_frame_args.h |
+++ b/cc/output/begin_frame_args.h |
@@ -79,6 +79,7 @@ struct CC_EXPORT BeginFrameArgs { |
base::TimeTicks deadline, |
base::TimeDelta interval, |
BeginFrameArgsType type); |
+ BeginFrameArgs(const BeginFrameArgs&); |
// This is the default delta that will be used to adjust the deadline when |
// proper draw-time estimations are not yet available. |
@@ -103,6 +104,12 @@ struct CC_EXPORT BeginFrameArgs { |
// observers should expect the continuity of |sequence_number| to break. |
uint64_t sequence_number; |
uint32_t source_id; // |source_id| after |sequence_number| for packing. |
+ uint32_t frame_source_number; |
+ |
+ // TODO: move these into a separate struct? |
+ // TODO: report a time delta - otherwise this doesn't make sense |
+ base::TimeTicks ready_to_activate_time; |
+ uint32_t ready_to_activate_source_frame_number; |
brianderson
2017/03/30 18:32:03
BeginFrameArgs are used everywhere, but these fiel
panicker
2017/03/30 21:31:25
The reason I added it to BeginFrameArgs instead of
panicker
2017/03/30 23:09:19
I tried moving to BeginMainFrameAndCommitState - h
brianderson
2017/03/31 22:19:48
Re My #2 suggestion: That would be adding a BeginM
|
BeginFrameArgsType type; |
bool on_critical_path; |