News for hackers. Stuff that matters.
Re:Making a 3D modeler in C in a week by keyle on Thursday May 02, 2024 @08:50PM (#40242913)
I do the same, I do wonder however, if there are performance issue at the OS level, from running (on a 4K screen) 4K borderless vs. 4K fullscreen.

Like, the whole giving the application maximum priority would work the same?

Re:Making a 3D modeler in C in a week by Just_Harry on Thursday May 02, 2024 @11:13PM (#40243662)
Whether there's a performance detriment from borderless-fullscreen vs exclusive-fullscreen depends on how a program presents its frames (and on the OS, of course).

On Windows, under ideal circumstances borderless-fullscreen performs identically to exclusive-fullscreen as Windows will let the program skip the compositor and present its frames more-or-less directly to the display. (Under really ideal circumstances the same applies to bordered non-fullscreen windows.)

If the compositor can't be skipped, borderless-fullscreen can be a bit brutal on performance: on a 4K 160Hz screen I've experienced an additional 40-milliseconds+ of frame-latency purely from borderless-fullscreen being used.

The Special K wiki has some pages that go into more detail about the situation on Windows: https://wiki.special-k.info/SwapChain, https://wiki.special-k.info/Presentation_Model

Re:Making a 3D modeler in C in a week by ImHereToVote on Friday May 03, 2024 @03:37AM (#40245179)
This is absolutely bonkers.