yuzu/src/video_core/host1x/host1x.cpp

21 lines
550 B
C++
Raw Normal View History

2022-11-05 16:58:44 +04:00
// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
#include "core/core.h"
#include "video_core/host1x/host1x.h"
2024-01-26 10:10:49 +04:00
namespace Tegra {
namespace Host1x {
2022-11-05 16:58:44 +04:00
Host1x::Host1x(Core::System& system_)
2024-01-07 13:47:31 +04:00
: system{system_}, syncpoint_manager{},
memory_manager(system.DeviceMemory()), gmmu_manager{system, memory_manager, 32, 12},
2022-11-05 16:58:44 +04:00
allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}
2024-01-07 13:47:31 +04:00
Host1x::~Host1x() = default;
2024-01-26 10:10:49 +04:00
} // namespace Host1x
2022-11-05 16:58:44 +04:00
2024-01-26 10:10:49 +04:00
} // namespace Tegra