Add a threaded renderer
authorJustin Weiss <justin@justinweiss.com>
Mon, 14 Sep 2020 03:06:57 +0000 (20:06 -0700)
committerJustin Weiss <justin@justinweiss.com>
Fri, 23 Oct 2020 01:07:00 +0000 (18:07 -0700)
commitc765eb86debdc06fe304511bc2edbb6f3e3d7813
tree8e489b86af71d3b081c125d5eb234b0fd6b68f17
parente592293a48af1d63b6973135fcd2677e5e04e17e
Add a threaded renderer

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.
15 files changed:
Makefile
Makefile.libretro
frontend/libretro.c
frontend/libretro_core_options.h
frontend/main.c
frontend/menu.c
frontend/plugin_lib.h
plugins/dfxvideo/gpulib_if.c
plugins/gpu-gles/gpulib_if.c
plugins/gpu_neon/psx_gpu_if.c
plugins/gpu_unai/gpulib_if.cpp
plugins/gpulib/gpu.c
plugins/gpulib/gpu.h
plugins/gpulib/gpulib_thread_if.c [new file with mode: 0644]
plugins/gpulib/gpulib_thread_if.h [new file with mode: 0644]