SystemMemoryType.cs
1 namespace Ryujinx.Graphics.GAL 2 { 3 public enum SystemMemoryType 4 { 5 /// <summary> 6 /// The backend manages the ownership of memory. This mode never supports host imported memory. 7 /// </summary> 8 BackendManaged, 9 10 /// <summary> 11 /// Device memory has similar performance to host memory, usually because it's shared between CPU/GPU. 12 /// Use host memory whenever possible. 13 /// </summary> 14 UnifiedMemory, 15 16 /// <summary> 17 /// GPU storage to host memory goes though a slow interconnect, but it would still be preferable to use it if the data is flushed back often. 18 /// Assumes constant buffer access to host memory is rather fast. 19 /// </summary> 20 DedicatedMemory, 21 22 /// <summary> 23 /// GPU storage to host memory goes though a slow interconnect, that is very slow when doing access from storage. 24 /// When frequently accessed, copy buffers to host memory using DMA. 25 /// Assumes constant buffer access to host memory is rather fast. 26 /// </summary> 27 DedicatedMemorySlowStorage 28 } 29 }