xash3d-fwgs icon indicating copy to clipboard operation
xash3d-fwgs copied to clipboard

Implement borderless windowed mode

Open SNMetamorph opened this issue 1 year ago • 9 comments

SNMetamorph avatar Jul 11 '22 09:07 SNMetamorph

What's the appeal of borderless mode?

I never understood this in other games. You either play in windowed mode (with all window decorations) or in full screen mode.

a1batross avatar Jul 11 '22 14:07 a1batross

Any tiling wm for *nix has borderless windows and it's cringe.

nekonomicon avatar Jul 11 '22 14:07 nekonomicon

@nekonomicon not everybody runs tiling WMs or even *nixes.

I'm trying to understand what's the point of it. When I'm gaming, I usually pick bordered window mode and very rarely full screen. Never used borderless mode.

a1batross avatar Jul 11 '22 14:07 a1batross

Faster alt-tabbing without introducing input lag, maybe some other uses

Velaron avatar Jul 11 '22 15:07 Velaron

@Velaron isn't alt-tab was fast even on Windows for years now...?

a1batross avatar Jul 11 '22 16:07 a1batross

No, exclusive fullscreen is still awfully slow and often doesn't even work or crash the game. Most games say they use "fullscreen", but are actually borderless.

Velaron avatar Jul 11 '22 16:07 Velaron

Isn't that's what SDL2 does for us?

We use it to set video mode, but when no video mode switching is done, isn't it practically just borderless window?

a1batross avatar Jul 11 '22 16:07 a1batross

I will say, that I find borderless full screen to actually give a slight performance boost in specific hardware configurations; namely anything with nVidia or AMD GPUs rendering through an iGPU. I'm not sure why, but I tend to get at least 5 additional FPS, but typically even more.

And besides (famous last words incoming), would it be that hard to implement?

AshleighTheCutie avatar Jul 11 '22 17:07 AshleighTheCutie

Also exclusive fullscreen sucks when using non-native resolution, as Windows decides to resize every single window.

Velaron avatar Jul 31 '22 14:07 Velaron

Done.

a1batross avatar Oct 10 '23 11:10 a1batross