diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-02-08 10:19:43 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 14:19:43 +0100 |
commit | 26bf13a65d6689601593a8050970d6835fd9dfe2 (patch) | |
tree | c9ff9bd67a82728f3dc46b6175ac7eb1df38d2f2 /Ryujinx.Graphics.Gpu/Image/TextureCache.cs | |
parent | 96cf242bcf168b9f9e6a1e27200529466217f396 (diff) |
Limit texture cache based on total texture size (#4350)1.1.606
* Limit texture cache based on total texture size
* Formatting
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureCache.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TextureCache.cs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureCache.cs b/Ryujinx.Graphics.Gpu/Image/TextureCache.cs index 1d5b1851..27bec786 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureCache.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureCache.cs @@ -1080,19 +1080,6 @@ namespace Ryujinx.Graphics.Gpu.Image } /// <summary> - /// Queues the removal of a texture from the auto delete cache. - /// </summary> - /// <remarks> - /// This function is thread safe and can be called from any thread. - /// The texture will be deleted on the next time the cache is used. - /// </remarks> - /// <param name="texture">The texture to be removed</param> - public void QueueAutoDeleteCacheRemoval(Texture texture) - { - _cache.RemoveDeferred(texture); - } - - /// <summary> /// Adds a texture to the short duration cache. This typically keeps it alive for two ticks. /// </summary> /// <param name="texture">Texture to add to the short cache</param> |