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
17 lines
409 B
C#
17 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;
|
|
}
|
|
}
|
|
}
|