host1x.cpp 470 B

123456789101112131415161718
  1. // Copyright 2022 yuzu Emulator Project
  2. // Licensed under GPLv3 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/core.h"
  5. #include "video_core/host1x/host1x.h"
  6. namespace Tegra {
  7. namespace Host1x {
  8. Host1x::Host1x(Core::System& system_)
  9. : system{system_}, syncpoint_manager{}, memory_manager{system, 32, 12},
  10. allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}
  11. } // namespace Host1x
  12. } // namespace Tegra