aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Gpu/NvGpu.cs
blob: 625cb727fec77c9b98915d7ef0a5d45ba03bd70f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using Ryujinx.Graphics.Gal;
using Ryujinx.HLE.Gpu.Engines;

namespace Ryujinx.HLE.Gpu
{
    class NvGpu
    {
        public IGalRenderer Renderer { get; private set; }

        public NvGpuFifo Fifo { get; private set; }

        public NvGpuEngine2d  Engine2d  { get; private set; }
        public NvGpuEngine3d  Engine3d  { get; private set; }
        public NvGpuEngineDma EngineDma { get; private set; }

        public NvGpu(IGalRenderer Renderer)
        {
            this.Renderer = Renderer;

            Fifo = new NvGpuFifo(this);

            Engine2d  = new NvGpuEngine2d(this);
            Engine3d  = new NvGpuEngine3d(this);
            EngineDma = new NvGpuEngineDma(this);
        }
    }
}