summaryrefslogtreecommitdiff
path: root/src/video_core/host1x/host1x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/host1x/host1x.h')
-rw-r--r--src/video_core/host1x/host1x.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/video_core/host1x/host1x.h b/src/video_core/host1x/host1x.h
new file mode 100644
index 000000000..2971be286
--- /dev/null
+++ b/src/video_core/host1x/host1x.h
@@ -0,0 +1,33 @@
1// Copyright 2022 yuzu Emulator Project
2// Licensed under GPLv3 or any later version
3// Refer to the license.txt file included.
4
5#pragma once
6
7#include "common/common_types.h"
8
9#include "video_core/host1x/syncpoint_manager.h"
10
11namespace Tegra {
12
13namespace Host1x {
14
15class Host1x {
16public:
17 Host1x() : syncpoint_manager{} {}
18
19 SyncpointManager& GetSyncpointManager() {
20 return syncpoint_manager;
21 }
22
23 const SyncpointManager& GetSyncpointManager() const {
24 return syncpoint_manager;
25 }
26
27private:
28 SyncpointManager syncpoint_manager;
29};
30
31} // namespace Host1x
32
33} // namespace Tegra