X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplugin_lib.h;h=7caa87c8c655b17442718b07a55714b96535cd49;hb=3e629be971c683d914844b487e366e0acf55539a;hp=114aaad7eaa1e1c056dd0dc50e18ee5f0051152e;hpb=d56340b165b4a7ef25bc3c7509d4f2315843bc31;p=pcsx_rearmed.git diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 114aaad7..7caa87c8 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, @@ -66,10 +70,13 @@ struct rearmed_cbs { // gpu options int frameskip; int fskip_advice; + int fskip_force; + int fskip_dirty; unsigned int *gpu_frame_count; 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;