aboutsummaryrefslogblamecommitdiff
path: root/Ryujinx.Graphics/NvGpu.cs
blob: 7ba700b89e5890cd6ff6e04cbd0b43d825189aab (plain) (tree)
1
2
3
4
5
6
7
8
9
                           
                       
 
                          
 
                      

                                                          
                                                   
 

                                                             
 
                                           

                                     
                                       

                                                 
         
     
using Ryujinx.Graphics.Gal;
using Ryujinx.Graphics;

namespace Ryujinx.Graphics
{
    public 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);
        }
    }
}