4 ms·
SDL has more features: joystick/gamepad input, image loading from PNG/etc, scaling/rotating/overlapping images onto the framebuffer, multiple windows, touch eve
by the_pwner224 6y ago
SDL has more features: joystick/gamepad input, image loading from PNG/etc, scaling/rotating/overlapping images onto the framebuffer, multiple windows, touch events, audio, and a lot more[0]. And is GPU accelerated for 2d, or 3d with opengl.
It's more of a generic application framework which works well for games, whereas this seems to be more of put a window on a screen, fill pixels, and get mouse/KB/resize events.
http://wiki.libsdl.org/Introduction http://wiki.libsdl.org/Introduction
SDL also has stuff that lets it work nicely with HiDPI screens.
- albertzeyer 6y agoI think SDL also mostly started like that (just a window where you fill pixels, and very basic kb/mouse events). You can also very easily use it just like that (which is why this looked so similar to me like MiniFB). Then over time, more and more people used it, and had special request. E.g. to be able to setup an OpenGL context. Use gamepad input (as this was used mostly for games). Multiple windows. Etc.