News for hackers. Stuff that matters.
Re:Leveraging Rust and the GPU to render user interfaces at ... by fallat on Thursday March 09, 2023 @08:58AM (#35081189)
I'm not even sure it was wise to use SDFs to draw some shaded rounded rectangles.
Re:Leveraging Rust and the GPU to render user interfaces at ... by kevingadd on Thursday March 09, 2023 @12:38PM (#35084038)
I use sdfs for my unified rasterization in my UI library and they definitely are not the optimal method from a performance standpoint. I've had to do a lot of tricky optimizations to get acceptable performance on low spec hardware.

I mostly stick with them because the flexibility and image quality feel worth it.