News for hackers. Stuff that matters.
Re:Rendering like it's 1996 – Baby's first pixel by legosexmagic on Monday January 16, 2023 @02:30PM (#34404531)
thats how it works. its called a swapchain and its usually more than one texture. to avoid artifacts.
Re:Rendering like it's 1996 – Baby's first pixel by flohofwoe on Tuesday January 17, 2023 @03:31AM (#34410353)
Setting up a correct swapchain, with correct frame timing and no microstutter, across Windows, Linux and macOS is a very non-trivial task though. This was no issue on 8-bit home-computers, and where it's basically a handful lines of assembly code to install a vsync interrupt service routine.

(modern GPUs gained performance at the cost of latency, but a lot of the complications are also just pointless over-engineering on the software side)