| 12345678910111213141516171819 |
- using Ryujinx.Graphics.Device;
- using Ryujinx.Graphics.Vic.Image;
- namespace Ryujinx.Graphics.Vic
- {
- readonly struct ResourceManager
- {
- public DeviceMemoryManager MemoryManager { get; }
- public BufferPool<Pixel> SurfacePool { get; }
- public BufferPool<byte> BufferPool { get; }
- public ResourceManager(DeviceMemoryManager mm, BufferPool<Pixel> surfacePool, BufferPool<byte> bufferPool)
- {
- MemoryManager = mm;
- SurfacePool = surfacePool;
- BufferPool = bufferPool;
- }
- }
- }
|