News for hackers. Stuff that matters.
Re:Flecs – A fast entity component system for C and C++ by Cthulhu_ on Tuesday April 04, 2023 @03:42AM (#35436358)
I'd say this is something that can be done on a driver / GPU level; if the inputs to render the next frame are the same, it can just reuse the previous one.

That's probably oversimplifying it, I don't know anything about graphics programming.

Re:Flecs – A fast entity component system for C and C++ by cnity on Tuesday April 04, 2023 @04:25AM (#35436677)
This doesn't really work. By the time the driver or GPU could "know" that the frame is the same, it's already done a lot of the heavy lifting. As in, it has basically still rendered the next frame by this point. Actually writing the result to the framebuffer is not expensive.