2022-06-29 19:27:49 -04:00
|
|
|
// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
2022-01-30 22:26:01 +01:00
|
|
|
|
|
|
|
#include "core/core.h"
|
|
|
|
#include "video_core/host1x/host1x.h"
|
|
|
|
|
|
|
|
namespace Tegra {
|
|
|
|
|
|
|
|
namespace Host1x {
|
|
|
|
|
|
|
|
Host1x::Host1x(Core::System& system_)
|
2023-12-29 09:50:04 +01:00
|
|
|
: system{system_}, syncpoint_manager{},
|
2024-02-01 12:42:11 +01:00
|
|
|
memory_manager(system.DeviceMemory()), gmmu_manager{system, memory_manager, 32, 0, 12},
|
2023-12-29 09:50:04 +01:00
|
|
|
allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}
|
2022-01-30 22:26:01 +01:00
|
|
|
|
2023-12-30 04:37:25 +01:00
|
|
|
Host1x::~Host1x() = default;
|
|
|
|
|
2022-01-30 22:26:01 +01:00
|
|
|
} // namespace Host1x
|
|
|
|
|
|
|
|
} // namespace Tegra
|