Allow threaded rendering for peops and enable on unix
[pcsx_rearmed.git] / frontend / libretro_core_options.h
index 941bd81..c28de2a 100644 (file)
@@ -973,6 +973,20 @@ struct retro_core_option_definition option_defs_us[] = {
       "disabled",
    },
 #endif /* GPU UNAI Advanced Settings */
+#ifdef THREAD_RENDERING
+   {
+      "pcsx_rearmed_gpu_thread_rendering",
+      "Threaded Rendering",
+      "When enabled, runs GPU commands in a thread. Sync waits for drawing to finish before vsync. Async will not wait unless there's another frame behind it.",
+      {
+         { "disabled", NULL },
+         { "sync",  NULL },
+         { "async",  NULL },
+         { NULL, NULL},
+      },
+      "disabled",
+   },
+#endif
 
    {
       "pcsx_rearmed_show_bios_bootlogo",