mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
36 lines
831 B
Plaintext
36 lines
831 B
Plaintext
|
// Copyright 2016 The Chromium Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
module viz.mojom;
|
||
|
|
||
|
import "mojo/public/mojom/base/time.mojom";
|
||
|
|
||
|
enum BeginFrameArgsType {
|
||
|
INVALID,
|
||
|
NORMAL,
|
||
|
MISSED,
|
||
|
BEGIN_FRAME_ARGS_TYPE_MAX
|
||
|
};
|
||
|
|
||
|
// See components/viz/common/frame_sinks/begin_frame_args.h.
|
||
|
struct BeginFrameArgs {
|
||
|
mojo_base.mojom.TimeTicks frame_time;
|
||
|
mojo_base.mojom.TimeTicks deadline;
|
||
|
mojo_base.mojom.TimeDelta interval;
|
||
|
uint64 source_id;
|
||
|
uint64 sequence_number;
|
||
|
int64 trace_id;
|
||
|
BeginFrameArgsType type;
|
||
|
bool on_critical_path;
|
||
|
bool animate_only;
|
||
|
};
|
||
|
|
||
|
// See components/viz/common/frame_sinks/begin_frame_args.h.
|
||
|
struct BeginFrameAck {
|
||
|
uint64 source_id;
|
||
|
uint64 sequence_number;
|
||
|
int64 trace_id;
|
||
|
bool has_damage;
|
||
|
};
|