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

Side by Side Diff: cc/ipc/begin_frame_args.mojom

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 unified diff | Download patch
« no previous file with comments | « cc/blimp/layer_tree_host_remote.cc ('k') | cc/ipc/begin_frame_args.typemap » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 module cc.mojom; 5 module cc.mojom;
6 6
7 import "mojo/common/time.mojom"; 7 import "mojo/common/time.mojom";
8 8
9 enum BeginFrameArgsType { 9 enum BeginFrameArgsType {
10 INVALID, 10 INVALID,
11 NORMAL, 11 NORMAL,
12 MISSED, 12 MISSED,
13 BEGIN_FRAME_ARGS_TYPE_MAX 13 BEGIN_FRAME_ARGS_TYPE_MAX
14 }; 14 };
15 15
16 // See cc/output/begin_frame_args.h. 16 // See cc/output/begin_frame_args.h.
17 struct BeginFrameArgs { 17 struct BeginFrameArgs {
18 uint64 source_id;
19 uint64 sequence_number;
18 mojo.common.mojom.TimeTicks frame_time; 20 mojo.common.mojom.TimeTicks frame_time;
19 mojo.common.mojom.TimeTicks deadline; 21 mojo.common.mojom.TimeTicks deadline;
20 mojo.common.mojom.TimeDelta interval; 22 mojo.common.mojom.TimeDelta interval;
21 BeginFrameArgsType type; 23 BeginFrameArgsType type;
22 bool on_critical_path; 24 bool on_critical_path;
23 }; 25 };
26
27 // See cc/output/begin_frame_args.h.
28 struct BeginFrameAck {
29 uint64 source_id;
30 uint64 sequence_number;
31 uint64 latest_confirmed_frame;
32 uint32 remaining_frames;
33 bool has_damage;
34 };
OLDNEW
« no previous file with comments | « cc/blimp/layer_tree_host_remote.cc ('k') | cc/ipc/begin_frame_args.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698