SDL_GPU minimal, single-header, high-performance 2D graphics painting library (github.com)
51 points by n67094 6 hours ago
kryptiskt 6 hours ago
This isn't SDL_gpu, that is part of SDL3. This is SDL_gp, an external lib which builds on the former.
HexDecOctBin 5 hours ago
How is this different from SDL_Render? https://wiki.libsdl.org/SDL3/CategoryRender
nnevatie 5 hours ago
The naming of the library is pretty confusing, considering SDL_gpu is an official part of SDL3.
feelamee 4 hours ago
naming of api functions too. They all prepended with "SDL_" as if this is SDL library, but it not.
whateverboat 4 hours ago
https://github.com/dascandy/pixel
I personally think this is better.
matt-p 4 hours ago
Cool work!
torusle 4 hours ago
Nice Ai prompting, bro..
Might want to share your harness /s
andai an hour ago
I know you're being sarcastic but I think some people may find this interesting:
I made one based on this tutorial (about 50 lines), which is about 8x faster and cheaper for small tasks in my experience. I highly recommend the learning experience.
bellowsgulch 5 hours ago
[flagged]
tomhow 14 minutes ago
Please don't post like this on HN. The guidelines make it clear we're trying for something better here. https://news.ycombinator.com/newsguidelines.html
andai an hour ago
They who must must not be named actually get a decent income e-begging, they just got used to living in San Francisco.
isjsixjeidjei 4 hours ago
[flagged]
tomhow 16 minutes ago
Please don't reply to a bad comment with another bad comment. Personal attacks are never ok here. You could easily respond by engaging with the substance of their comment rather than ad hominem. https://news.ycombinator.com/newsguidelines.html