f241f88558
* Add a separate device memory manager * Still need this * Device writes are always tracked * Device writes are always tracked (2) * Rename more instances of gmm to mm
19 lines
557 B
C#
19 lines
557 B
C#
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;
|
|
}
|
|
}
|
|
}
|