blob: 585d8143a087b79f487e2e2e76b3974afca9b539 [file]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ui/scenic/lib/scheduling/vsync_timing.h"
namespace scheduling {
VsyncTiming::VsyncTiming() : last_vsync_time_(0), vsync_interval_predictor_(kNsecsFor60fps) {
FX_DCHECK(vsync_interval_predictor_.GetPrediction().get() > 0);
}
} // namespace scheduling