mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
Relax GC if it's not in High Priority mode
This commit is contained in:
parent
5749b979f0
commit
8f14f01e49
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ void TextureCache<P>::RunGarbageCollector() {
|
|||
if (True(image.flags & ImageFlagBits::IsDecoding)) {
|
||||
return false;
|
||||
}
|
||||
if (!high_priority_mode && True(image.flags & ImageFlagBits::CostlyLoad)) {
|
||||
return false;
|
||||
}
|
||||
if (image.IsSafeDownload() && False(image.flags & ImageFlagBits::BadOverlap)) {
|
||||
auto map = runtime.DownloadStagingBuffer(image.unswizzled_size_bytes);
|
||||
const auto copies = FixSmallVectorADL(FullDownloadCopies(image.info));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue