mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
Windows GL vsync workaround: scope to the measured case
Narrow host_driver_vsync_unreliable() on Windows to the configuration the stall was measured on: GL active, render thread running, GL_VENDOR NVIDIA, not exclusive fullscreen. Other driver families and the unthreaded path keep driver vsync; PSX_TRUST_DRIVER_VSYNC=1 still forces it everywhere. Evaluated per call, so runtime renderer/fullscreen changes apply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -607,6 +607,7 @@ int gl_renderer_get_texture_window_batching(void);
|
||||
int gl_renderer_render_thread_start(int max_frames);
|
||||
void gl_renderer_render_thread_stop(void);
|
||||
int gl_renderer_render_thread_active(void);
|
||||
int gl_renderer_vendor_is_nvidia(void);
|
||||
void gl_renderer_render_thread_frame_boundary(void);
|
||||
void gl_renderer_render_thread_sync(const char *reason);
|
||||
int gl_renderer_render_thread_json(char *out, size_t cap);
|
||||
|
||||
Reference in New Issue
Block a user