diff options
author | Justin Weiss | 2020-09-13 20:06:57 -0700 |
---|---|---|
committer | Justin Weiss | 2020-10-22 18:07:00 -0700 |
commit | c765eb86debdc06fe304511bc2edbb6f3e3d7813 (patch) | |
tree | 8e489b86af71d3b081c125d5eb234b0fd6b68f17 /Makefile | |
parent | e592293a48af1d63b6973135fcd2677e5e04e17e (diff) | |
download | pcsx_rearmed-c765eb86debdc06fe304511bc2edbb6f3e3d7813.tar.gz pcsx_rearmed-c765eb86debdc06fe304511bc2edbb6f3e3d7813.tar.bz2 pcsx_rearmed-c765eb86debdc06fe304511bc2edbb6f3e3d7813.zip |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -184,6 +184,10 @@ endif ifeq "$(BUILTIN_GPU)" "unai" CFLAGS += -DGPU_UNAI CFLAGS += -DUSE_GPULIB=1 +ifeq "$(THREAD_RENDERING)" "1" +CFLAGS += -DTHREAD_RENDERING +OBJS += plugins/gpulib/gpulib_thread_if.o +endif #CFLAGS += -DINLINE="static __inline__" #CFLAGS += -Dasm="__asm__ __volatile__" OBJS += plugins/gpu_unai/gpulib_if.o |