SIGN IN SIGN UP

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.
K
Kacper Michajłow committed
8407df979f6d8bb29e15b9412e769639bc3763c0
Parent: 817372a
Committed by sfan5 <sfan5@live.de> on 5/21/2025, 7:45:43 AM