summaryrefslogblamecommitdiffstats
path: root/src/video_core/host1x/host1x.cpp
blob: e923bfa2288c52b82e43e611ddf8c728d0763526 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                     








                                     
                                           
                                                                                             
                                                                                
 

                            


                     
// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#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.DeviceMemory()), gmmu_manager{system, memory_manager, 32, 0, 12},
      allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}

Host1x::~Host1x() = default;

} // namespace Host1x

} // namespace Tegra