gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
754 stars 174 forks source link

frame duplication with threaded renderer #2776

Closed ghost closed 7 months ago

ghost commented 1 year ago

would it be possible to have a frame duplication option in gliden64 for scenarios where a user has framebuffer emulation off+threaded renderer on? currently the frame duplication option in retroarch mupen nx only works if gliden64 threaded renderer is off.

frame duplication gives more smooth frame pacing for 30fps games on a 60hz monitor, it is possible to get frame duplication in all scenarios by enabling framebuffer emulation but not every user wants to deal with the performance penalty and lag of having framebuffer emulation always enabled just to get frame duplication/better frame pacing

gonetz commented 1 year ago

Regarding "frame duplication option" - there is no such an option in GLideN64. I may guess that you are talking about "Frame buffer swap" option, which controls frame buffer swap. If it set to "On VI update", frame buffer updates 60 times per second for NTSC games and 50 for PAL ones. It indeed works only if frame buffer emulation is enabled. It's not hard to implement similar logic when fb emulation is disabled: PR #2777

ghost commented 7 months ago

Thank you gonetz, this is exactly what i had in mind, works well and i will close this issue as completed. Hopefully you might consider https://github.com/gonetz/GLideN64/issues/2794 at some point too and implement a feature that allows nearest filtering for all textures.