host1x.cpp 441 B

1234567891011121314151617
  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{}, memory_manager{system, 32, 12},
  9. allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}
  10. } // namespace Host1x
  11. } // namespace Tegra