OLD | NEW |
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/common_custom_types.mojom"; | 7 import "mojo/common/common_custom_types.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 mojo.common.mojom.TimeTicks frame_time; | 18 mojo.common.mojom.TimeTicks frame_time; |
19 mojo.common.mojom.TimeTicks deadline; | 19 mojo.common.mojom.TimeTicks deadline; |
20 mojo.common.mojom.TimeDelta interval; | 20 mojo.common.mojom.TimeDelta interval; |
21 BeginFrameArgsType type; | 21 BeginFrameArgsType type; |
22 bool on_critical_path; | 22 bool on_critical_path; |
| 23 bool allow_latency_optimizations; |
23 }; | 24 }; |
OLD | NEW |