Re:Leveraging Rust and the GPU to render user interfaces at ...
by ben-schaaf on Thursday March 09, 2023 @09:20AM
(#35081411)
Scrolling requires redrawing most if not the whole framebuffer.
[ Parent
| on HN ]
Re:Leveraging Rust and the GPU to render user interfaces at ...
by HideousKojima on Thursday March 09, 2023 @10:56AM
(#35082585)
With scrolling couldn't you just shift the existing framebuffer up/down and only draw the newly scrolled-to parts?
Re:Leveraging Rust and the GPU to render user interfaces at ...
by kevingadd on Thursday March 09, 2023 @12:40PM
(#35084072)
The GPU buffering model doesn't usually let you read the previous frame like that these days, so you would need a scratch surface. That increases your bandwidth and memory requirements, so shifting doesn't end up being much faster if it's faster at all.