Hacker News new | ask | show | jobs
by LoganDark 25 days ago
Drawing the entire interface is more expensive than drawing only what changed, though. You don't have to give up the GPU for that.
1 comments

The GPU will re-render everything anyway. What you can at most optimize is the upload of data to the GPU (i.e. upload only what has changed).

Also consider that if your UI framework supports z-level, opacity and other features like that then determining what has changed for rendering is much more complex than just determining what UI elements have changed.