joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.78k stars 382 forks source link

Support exclusive fullscreen mode #2888

Open n-rook opened 3 years ago

n-rook commented 3 years ago

Is your feature request related to a problem? Please describe. On Windows 10, borderless fullscreen is typically slightly slower than exclusive fullscreen.

I have noticed DOSBox-X reacting slightly more quickly when exclusive fullscreen is used.

Describe the solution you'd like Provide an option to make full-screen mode exclusive.

I've tested this patch: https://github.com/n-rook/dosbox-x/commit/a125ef98362cbc5191a1128a7d5c879e7d59fa1a

And I've observed quicker response times. To be honest, with this sort of thing it's subtle enough that I can never be totally sure if I'm imagining it. But I believe it does make a difference.

Borderless fullscreen has lots of advantages over exclusive fullscreen, so I assume you do not actually want to merge that commit. If you have another vision for the feature (an option?) I'd be interested in contributing to it. I don't really know much about your future plans, though, so you would have to tell me what to do. (Does it need to be implemented for SDL1 too? This is just SDL2, is that OK? Is there anything else that needs to be changed?)

Describe alternatives you've considered To be honest, I don't really understand this code, and it seems to be from 3 years ago, so maybe another way to do this is best. I think the general concept of an option to use exclusive fullscreen rather than borderless is good, though.

El-Juancho commented 2 years ago

I would love to have an option to play with exclusive fullscreen on, im a doom speedrunner and having less input lag really helps.

Shakes4cc commented 2 years ago

I would also like to have this option, as a shooting games player.

roioros commented 2 years ago

I am also interested, does anyone know if there is any news?

PowerDuckSamurai commented 7 months ago

I'm interested too. No news about this? : (

joncampbell123 commented 7 months ago

Let it be an option in dosbox.conf. Not only would it probably improve performance, but I also wonder if it may help with those who have 165Hz monitors and FreeSync.