diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 02:02:00 -0500 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 15:19:07 -0500 |
| commit | e37b4b9fa60f02fa77a4795cdd1bed0b8c71b933 (patch) | |
| tree | 52ed2c3f85d5926b366fe68f5b257175636dc70c /src/core/core.cpp | |
| parent | ca1fac93fb4397a89424c6621be3515949b94729 (diff) | |
texture_cache: collect images in the emptiest device memory blocks first
Deleting by age alone left every block partly used: the collector deletes
thousands of images a minute and new ones land in the holes, so blocks
seldom empty (title 1: ~0.8 GB of holes in ~190 32 MiB blocks after ten
minutes, counted by the driver as used). Among the oldest candidates, 8
per image a pass may delete, those in the emptiest blocks go first, so
blocks drain and VMA returns them; placement already prefers the fullest
blocks.
(cherry picked from commit 2f8f0716fafd874cfbb3cc9086141aea61aff2df)
Diffstat (limited to 'src/core/core.cpp')
0 files changed, 0 insertions, 0 deletions
