diff options
author | Autechre | 2020-10-23 05:06:26 +0200 |
---|---|---|
committer | GitHub | 2020-10-23 05:06:26 +0200 |
commit | accedc82b01fe5834a805a9872405d51de1d5c06 (patch) | |
tree | 8e489b86af71d3b081c125d5eb234b0fd6b68f17 /frontend/plugin_lib.h | |
parent | e592293a48af1d63b6973135fcd2677e5e04e17e (diff) | |
parent | c765eb86debdc06fe304511bc2edbb6f3e3d7813 (diff) | |
download | pcsx_rearmed-accedc82b01fe5834a805a9872405d51de1d5c06.tar.gz pcsx_rearmed-accedc82b01fe5834a805a9872405d51de1d5c06.tar.bz2 pcsx_rearmed-accedc82b01fe5834a805a9872405d51de1d5c06.zip |
Merge pull request #462 from justinweiss/threaded-rendering
Add a threaded renderer
Diffstat (limited to 'frontend/plugin_lib.h')
-rw-r--r-- | frontend/plugin_lib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 114aaad..71dfcb5 100644 --- a/frontend/plugin_lib.h +++ b/frontend/plugin_lib.h @@ -1,6 +1,10 @@ #ifndef __PLUGIN_LIB_H__ #define __PLUGIN_LIB_H__ +#define THREAD_RENDERING_OFF 0 +#define THREAD_RENDERING_SYNC 1 +#define THREAD_RENDERING_ASYNC 2 + enum { DKEY_SELECT = 0, DKEY_L3, @@ -70,6 +74,7 @@ struct rearmed_cbs { unsigned int *gpu_hcnt; unsigned int flip_cnt; // increment manually if not using pl_vout_flip unsigned int only_16bpp; // platform is 16bpp-only + unsigned int thread_rendering; struct { int allow_interlace; // 0 off, 1 on, 2 guess int enhancement_enable; |