aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Vic/ResourceManager.cs
blob: 036b30b63be9b14543b4db3af2c7f20c46997234 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Ryujinx.Graphics.Gpu.Memory;
using Ryujinx.Graphics.Vic.Image;

namespace Ryujinx.Graphics.Vic
{
    struct ResourceManager
    {
        public MemoryManager Gmm { get; }
        public BufferPool<Pixel> SurfacePool { get; }
        public BufferPool<byte> BufferPool { get; }

        public ResourceManager(MemoryManager gmm, BufferPool<Pixel> surfacePool, BufferPool<byte> bufferPool)
        {
            Gmm = gmm;
            SurfacePool = surfacePool;
            BufferPool = bufferPool;
        }
    }
}