Files
RetroArch/tools/wait_budget.ref
libretroadmin 5c15216d40 gfx_widgets: turning them off does not wait on the video thread
Under the wrapper the widgets turned off tear down once the video
thread has run a fence queued behind the frame in flight: frames after
the worker is taken away draw none, and the teardown, on the main
thread as before, runs from the runloop once the fence has passed. An
init asked for in between waits for it and is retried after. A deinit
that has waited out the frame itself runs a pending teardown first.
main_exit() no longer waits to clear a flag only it reads.

threaded_video's threaded-off lane turns the widgets off, and off and
straight back on, while a frame draws them: they must not go under it,
the toggle must not wait for it, and they must come back.
2026-10-16 17:11:45 +02:00

8 lines
278 B
Plaintext

# Waits on the video thread allowed per file, as tools/wait_budget.sh
# counts them: calls of video_thread_wait_idle() and
# video_thread_run_blocking(). A ceiling that only comes down.
#
# file allowed
gfx/video_driver.c 5
retroarch.c 3