News for hackers. Stuff that matters.
Re:Leveraging Rust and the GPU to render user interfaces at ... by ben-schaaf on Thursday March 09, 2023 @09:23AM (#35081443)
The other latency that matters is how long it takes to draw each frame when scrolling through the code, which is usually most if not all of the framebuffer.
Re:Leveraging Rust and the GPU to render user interfaces at ... by fxtentacle on Thursday March 09, 2023 @01:06PM (#35084457)
Agree. In that case, you need to cache the result of your CPU rendering in a GPU texture so that you can smoothly scroll it. But you can probably still get away with drawing all UI components on the CPU if you add a little bit of caching.