aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles
diff options
context:
space:
mode:
authorJustin Weiss2020-09-13 20:06:57 -0700
committerJustin Weiss2020-10-22 18:07:00 -0700
commitc765eb86debdc06fe304511bc2edbb6f3e3d7813 (patch)
tree8e489b86af71d3b081c125d5eb234b0fd6b68f17 /plugins/gpu-gles
parente592293a48af1d63b6973135fcd2677e5e04e17e (diff)
downloadpcsx_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 'plugins/gpu-gles')
-rw-r--r--plugins/gpu-gles/gpulib_if.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/gpu-gles/gpulib_if.c b/plugins/gpu-gles/gpulib_if.c
index 1f4a23d..8cc1469 100644
--- a/plugins/gpu-gles/gpulib_if.c
+++ b/plugins/gpu-gles/gpulib_if.c
@@ -769,3 +769,11 @@ static void fps_update(void)
DisplayText(buf, 1);
}
}
+
+void renderer_sync(void)
+{
+}
+
+void renderer_notify_update_lace(int updated)
+{
+}