[flagged]
SDL_GPU minimal, single-header, high-performance 2D graphics painting library
21–30 of 34 posts
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
Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library
#22Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library
#23How is this different from SDL_Render? https://wiki.libsdl.org/SDL3/CategoryRender
If only there was some link to a readme which would answer this question.
Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library
#24https://github.com/dascandy/pixel I personally think this is better.
Why?
Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library
#25Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library
#26This isn't SDL_gpu, that is part of SDL3. This is SDL_gp, an external lib which builds on the former.
You are right, I made a typo ... :facepalm:
Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library
#27How is this different from SDL_Render? https://wiki.libsdl.org/SDL3/CategoryRender
Thanks for the feedback you are right, this is necessary ! I'll do that asap :)
Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library
#28The naming of the library is pretty confusing, considering SDL_gpu is an official part of SDL3.
naming of api functions too. They all prepended with "SDL_" as if this is SDL library, but it not.
Well, I understand your concern, it's for naming consistency in codebases that may use this lib, like this one https://github.com/sabdul-khabir/SDL3_gfx, which is listed here https://wiki.libsdl.org/SDL3/Libraries (it's also an unofficial lib, like SDL_gp).
Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library
#29https://github.com/dascandy/pixel I personally think this is better.
completely different under the hood, the one you sent use OpenGL only, SDL_gp use Vulkan, metal or DirectX depending on your system. There is also a lot of other diff but it will be long to explain ^^. But thanks I didn't know about the one you sent :)
Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library
#30Cool work!
thanks :)