aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Vic/ResourceManager.cs
blob: 7c3f507edb6536e462ae46e9f710995cf4b254c3 (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
{
    readonly 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;
        }
    }
}