mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-03-26 03:54:41 +01:00
* 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;
|
|
}
|
|
}
|
|
}
|