Fix unnecessary threaded rendering frame drops
authorJustin Weiss <justin@justinweiss.com>
Thu, 29 Oct 2020 04:30:22 +0000 (21:30 -0700)
committerJustin Weiss <justin@justinweiss.com>
Thu, 29 Oct 2020 04:30:22 +0000 (21:30 -0700)
commit847f57a01f6d17d44b6c8eca4ad93527b739b93d
treed55301da6739e7d3248fd52396bf467348c4770a
parent6ff2f6b3e7e69fbb38fd8f8ffd5526d1e838cd1d
Fix unnecessary threaded rendering frame drops

When DMA requests force a background queue flush, the update lace
handler can no longer know there was a pending frame. If this happens
often enough, it can delay the next frame indefinitely.

Whenever the background queue is emptied, the next update_lace needs
to force a render.
plugins/gpulib/gpulib_thread_if.c