2022-06-29 23:27:49 +00:00
|
|
|
// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
2022-01-30 21:26:01 +00:00
|
|
|
|
|
|
|
#include "core/core.h"
|
|
|
|
#include "video_core/host1x/host1x.h"
|
|
|
|
|
|
|
|
namespace Tegra {
|
|
|
|
|
|
|
|
namespace Host1x {
|
|
|
|
|
|
|
|
Host1x::Host1x(Core::System& system_)
|
|
|
|
: system{system_}, syncpoint_manager{}, memory_manager{system, 32, 12},
|
|
|
|
allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}
|
|
|
|
|
|
|
|
} // namespace Host1x
|
|
|
|
|
|
|
|
} // namespace Tegra
|