Add a separate device memory manager (#6153)
* 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
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
using Ryujinx.Graphics.Gpu.Memory;
|
||||
using Ryujinx.Graphics.Device;
|
||||
using Ryujinx.Graphics.Vic.Image;
|
||||
|
||||
namespace Ryujinx.Graphics.Vic
|
||||
{
|
||||
readonly struct ResourceManager
|
||||
{
|
||||
public MemoryManager Gmm { get; }
|
||||
public DeviceMemoryManager MemoryManager { get; }
|
||||
public BufferPool<Pixel> SurfacePool { get; }
|
||||
public BufferPool<byte> BufferPool { get; }
|
||||
|
||||
public ResourceManager(MemoryManager gmm, BufferPool<Pixel> surfacePool, BufferPool<byte> bufferPool)
|
||||
public ResourceManager(DeviceMemoryManager mm, BufferPool<Pixel> surfacePool, BufferPool<byte> bufferPool)
|
||||
{
|
||||
Gmm = gmm;
|
||||
MemoryManager = mm;
|
||||
SurfacePool = surfacePool;
|
||||
BufferPool = bufferPool;
|
||||
}
|
||||
|
Reference in New Issue
Block a user