3 ms·
Writing pixels into an RGBA framebuffer in main memory is fun, but it's also the easy and slow way to do graphics. The hard way these days is to figure out how
by pavlov 4y ago
Writing pixels into an RGBA framebuffer in main memory is fun, but it's also the easy and slow way to do graphics. The hard way these days is to figure out how to use a modern GPU to do the rendering you need. It's almost always several orders of magnitude faster.
- kragen 4y agowriting pixels into an rgba framebuffer in main memory is still plenty fast to do a full-screen animation at 60 hertz tho the benefit of the gpu is no longer (since maybe late last millennium) that you don't have the memory bandwidth to your framebuffer; it's that you can do a lot of computation per pixel typically the gpu advantage is only about an order of magnitude tho