HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
vertical_sync.hpp
1// Copyright Take Vos 2020-2021.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "../chrono.hpp"
8#include "../subsystem.hpp"
9#include <atomic>
10
11namespace tt {
12
14public:
15 vertical_sync() noexcept {}
16
17 virtual ~vertical_sync() = default;
18
22 virtual utc_nanoseconds wait() noexcept = 0;
23};
24
25}
Definition vertical_sync.hpp:13
virtual utc_nanoseconds wait() noexcept=0
Wait for the vertical sync.