Re:GTK: Introducing Graphics Offload
by AshamedCaptain on Saturday November 18, 2023 @02:55PM
(#38323668)
At the same time, you also have hardware that can push those pixels without problem. When X and these technologies were introduced, the hardware was not able to store the entire framebuffer for one screenful in memory, let alone two. Nowadays you are able to store a handful at the very minimum. Certainly there's a different level of performance here in all parts, but the concepts have changed very little, and this entire article kind of shows it.
[ Parent
| on HN ]
Re:GTK: Introducing Graphics Offload
by mananaysiempre on Sunday November 19, 2023 @04:24PM
(#38338242)
Storing is one thing, pushing another. 32bpp×4K@60Hz works out to 1.8GB/s, which even on modern CPUs requires you to not do stupid things—e.g. a C loop with a (modest) iteration per byte will likely end up an order of magnitude slower. And that’s if you’re doing 32bpp SDR like it’s 2005; a floating-point pixel format will be four times more data than that.