Ryujinx/src/Ryujinx.Graphics.Nvdec/ResourceManager.cs
gdkchan f241f88558
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
2024-01-22 17:14:46 -03:00

18 lines
409 B
C#

using Ryujinx.Graphics.Device;
using Ryujinx.Graphics.Nvdec.Image;
namespace Ryujinx.Graphics.Nvdec
{
readonly struct ResourceManager
{
public DeviceMemoryManager MemoryManager { get; }
public SurfaceCache Cache { get; }
public ResourceManager(DeviceMemoryManager mm, SurfaceCache cache)
{
MemoryManager = mm;
Cache = cache;
}
}
}