Files
Velix-MPV-Core/video
Dudemanguy 0959cdeb03 context_drm_egl: simplify and fix delayed rendering with vo_gpu_next
This backend is a special case where the state of the frame (i.e. is it
still) needs to be taken into account when flipping the page because it
does its own fencing. vo_gpu_next never calls the submit_frame API in
ra_swapchain which meant the drm backend wasn't aware of the state of
the frames and thus couldn't respond. This is a bit weird though because
in vo_gpu we actually want the ra_gl_ctx_submit_frame call after the
custom external drm_egl_submit_frame. But we don't want this in
vo_gpu_next, we only want the state update. Be lazy and just compare the
vo_drivers, but the way this is currently designed feels wrong. Fixes
delayed OSD rendering when you play a still image like an audio
file with cover art.
2025-02-23 18:42:16 +00:00
..
2025-01-04 15:59:49 +02:00
…
…
…
…
…
…
2025-01-04 15:59:49 +02:00
…
…
…
…
…
…