blob: 5d45bb5eec00bc290c3febc365897bb26b74f8a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <set>
namespace Service {
class Event;
}
namespace Service::VI {
class DisplayList;
class VsyncManager {
public:
explicit VsyncManager();
~VsyncManager();
void SignalVsync();
void LinkVsyncEvent(Event* event);
void UnlinkVsyncEvent(Event* event);
private:
std::set<Event*> m_vsync_events;
};
} // namespace Service::VI
|