host1x.cpp 533 B

1234567891011121314151617181920
  1. // SPDX-FileCopyrightText: 2021 yuzu Emulator Project
  2. // SPDX-License-Identifier: GPL-3.0-or-later
  3. #include "core/core.h"
  4. #include "video_core/host1x/host1x.h"
  5. namespace Tegra {
  6. namespace Host1x {
  7. Host1x::Host1x(Core::System& system_)
  8. : system{system_}, syncpoint_manager{},
  9. memory_manager(system.DeviceMemory()), gmmu_manager{system, memory_manager, 32, 0, 12},
  10. allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}
  11. Host1x::~Host1x() = default;
  12. } // namespace Host1x
  13. } // namespace Tegra