Skip to content
Snippets Groups Projects

vulkan/malloc: switch to wall clock garbage collection

Closed Niklas Haas requested to merge haasn/libplacebo:wallclock_gc into master

Instead of counting the number of vk_malloc_garbage_collect calls, which can vary wildly (e.g. being incremented on every pl_gpu_flush), use a real wall clock estimate.

The default expiry time of 100 ms is probably fine, it leaves plenty of headroom for typical video playback (which should surely exceed 10 fps!).

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
Please register or sign in to reply
Loading