5 ms·
> SDL2 doesn't have a 2D graphics API in the traditional sense. It has a basic bitmap software blitter designed for debugging and bootstrapping. This is actual
by backpropaganda 8y ago
> SDL2 doesn't have a 2D graphics API in the traditional sense. It has a basic bitmap software blitter designed for debugging and bootstrapping.
This is actually incorrect. The SDL Render API does use GPU acceleration.
- alxmdev 8y agoIndeed it does, and you can use it to draw accelerated scaled and rotated images, lines, and rectangles. There are even a few blending modes available. It's a nice foundation for simple cross-platform 2D graphics, it's come a long way since SDL1.
- seba_dos1 8y agoThere's also old SDL's rival, Allegro 5, which also provides nice GPU accelerated graphics API.
- DLudwig 8y agoSDL2's render API can use GPU acceleration, however its feature set is rather limited. This is plenty for many, however is incomplete for others. I've heard its feature set be referred to as 'SNES-level graphics', or something to that effect, from at least one SDL-internals dev, something which I'd also echo.