Live data from Hacker News

SDL_GPU minimal, single-header, high-performance 2D graphics painting library

github.com

21–30 of 34 posts

Re: SDL_GPU minimal, single-header, high-performance 2D graphics painting library

#28
post #5

The 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

#29

https://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 :)
Post reply on HN