diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 23:24:25 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 08:39:52 -0500 |
| commit | 446c34aa8b305deb9f0870721d2126da8c186368 (patch) | |
| tree | 8235281e7bfc36a9bbd73981d1642b78723ba29b /src/video_core/buffer_cache/buffer_base.h | |
| parent | 75385e994dc8cc8699a918180ee566e8723b8394 (diff) | |
texture_cache: free deleted images once the GPU is past them
Deleted images kept their device memory for TICKS_TO_DESTROY (8)
frames. While the collector deletes dozens a frame that held 1-1.5 GB
of VRAM on top of its threshold, which the collector does not count
(Mario Kart World on an 8 GB card: 6.6-7.0 GB in use against 5 GiB). On
runtimes that report GPU progress (Vulkan) an image is destroyed as
soon as the GPU is past it. Title screen, 10 minutes: VRAM in use 6.75
-> 6.34 GB on average, frames over 100 ms 22 -> 15.
(cherry picked from commit 8c899541baf398deb892a857a932590f32d2aa4f)
Diffstat (limited to 'src/video_core/buffer_cache/buffer_base.h')
0 files changed, 0 insertions, 0 deletions
