summaryrefslogtreecommitdiffstats
path: root/src/video_core/host1x/host1x.h
blob: 2971be2861a7455e7a20a8ee092538112ff3946b (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
30
31
32
33
// Copyright 2022 yuzu Emulator Project
// Licensed under GPLv3 or any later version
// Refer to the license.txt file included.

#pragma once

#include "common/common_types.h"

#include "video_core/host1x/syncpoint_manager.h"

namespace Tegra {

namespace Host1x {

class Host1x {
public:
    Host1x() : syncpoint_manager{} {}

    SyncpointManager& GetSyncpointManager() {
        return syncpoint_manager;
    }

    const SyncpointManager& GetSyncpointManager() const {
        return syncpoint_manager;
    }

private:
    SyncpointManager syncpoint_manager;
};

} // namespace Host1x

} // namespace Tegra