mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-12 05:05:26 +02:00
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,16 +1,16 @@
|
||||
using Ryujinx.Graphics.Gpu.Memory;
|
||||
using Ryujinx.Graphics.Device;
|
||||
using Ryujinx.Graphics.Nvdec.Image;
|
||||
|
||||
namespace Ryujinx.Graphics.Nvdec
|
||||
{
|
||||
readonly struct ResourceManager
|
||||
{
|
||||
public MemoryManager Gmm { get; }
|
||||
public DeviceMemoryManager MemoryManager { get; }
|
||||
public SurfaceCache Cache { get; }
|
||||
|
||||
public ResourceManager(MemoryManager gmm, SurfaceCache cache)
|
||||
public ResourceManager(DeviceMemoryManager mm, SurfaceCache cache)
|
||||
{
|
||||
Gmm = gmm;
|
||||
MemoryManager = mm;
|
||||
Cache = cache;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user