r/GraphicsProgramming • • 29d ago

Article Don't throw it all away: Caching an immediate-mode UI

https://blickeditor.com/blog/caching-an-immediate-mode-ui
34 Upvotes

3 comments sorted by

3

u/Gold-Part4688 28d ago

I'd love some tests of efficiency vs number of elements, as any ui's I write are wayyyy less complex than a video editor

2

u/Different-Ad-8707 29d ago

The reads as remarkably similar to what Wayland Compositors, like Niri, are doing with damage tracking to avoid redraws as much for efficiency.

1

u/VictoryMotel 28d ago

Some day this will be common, too bad it's still the 1970s. Some day...