Use a more efficient range list on the buffer manager

This commit is contained in:
gdk 2019-11-08 16:39:12 -03:00 committed by Thog
parent a31fced221
commit 1e8bc29f32
4 changed files with 309 additions and 63 deletions

View file

@ -22,7 +22,7 @@ namespace Ryujinx.Graphics.Gpu.Image
private ITexture[] _rtHostColors;
private ITexture _rtHostDs;
private RangeList<Texture> _textures;
private ConcurrentRangeList<Texture> _textures;
private AutoDeleteCache _cache;
@ -37,7 +37,7 @@ namespace Ryujinx.Graphics.Gpu.Image
_rtHostColors = new ITexture[Constants.TotalRenderTargets];
_textures = new RangeList<Texture>();
_textures = new ConcurrentRangeList<Texture>();
_cache = new AutoDeleteCache();
}