This commit is still causing a 66% FPS drop on Arch
8407df979f6d8bb29e15b9412e769639bc3763c0 is the first bad commit
commit 8407df979f6d8bb29e15b9412e769639bc3763c0
Author: Kacper Michajłow
Date: Sun Apr 27 00:05:28 2025 +0200
sub/osd_libass: don't rerender OSD if not changed
Rendering OSD on every frame draw is quite heavy, even if some of the
rendering parts are cached, it still takes significant amount of time,
depending of payload can take 8-10 ms just to do the text shaping.
Instead render only when we need it.
sub/osd_libass.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)