X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplugin_lib.h;h=71dfcb58cbeb15f1cd71645b24adc0d7ea13bcdb;hb=f770faad8e05014d16e9c1f3c46bfd76274695c6;hp=ee03169551932df53d7ee38f9244fea39a8faa4e;hpb=43047988e507799d7d5bbcd926c5d0b5b94fcdc1;p=pcsx_rearmed.git diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index ee031695..71dfcb58 100644 --- a/frontend/plugin_lib.h +++ b/frontend/plugin_lib.h @@ -1,3 +1,9 @@ +#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, @@ -68,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; @@ -119,3 +126,5 @@ extern void (*pl_plat_hud_print)(int x, int y, const char *str, int bpp); #ifndef ARRAY_SIZE #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) #endif + +#endif /* __PLUGIN_LIB_H__ */