aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpulib/gpulib_thread_if.c
AgeCommit message (Collapse)Author
2020-10-28Fix unnecessary threaded rendering frame dropsJustin Weiss
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.
2020-10-22Allow threaded rendering for peops and enable on unixJustin Weiss
2020-10-22Add a threaded rendererJustin Weiss
This change adds a gpulib implementation that accepts GPU commands and runs them through a real gpulib implementation on a thread. Depending on a setting, it can either force a sync every frame, or continue to work until the next frame arrives.