SDL 2.0.0 is out after many years in development
lists.libsdl.org
SDL 2.0.0 is out after many years in development
1–10 of 62 posts
Re: SDL 2.0.0 is out after many years in development
#2Nevertheless, I will give it a shot again.
Good work Sam!
Re: SDL 2.0.0 is out after many years in development
#3Re: SDL 2.0.0 is out after many years in development
#4The SDL development still impresses me and 2.0.0 is a major milestone and multiple windows, new OpenGL, touch support, Android and iOS support are here to keep SDL alive with all the new frameworks and "engines". I hope it does well!
Re: SDL 2.0.0 is out after many years in development
#5I remember using SDL more than a decade ago and in general it was a pleasant experience. My only gripe was that it needs to hijacked the main loop. Nevertheless, I will give it a shot again. Good work Sam!
Edit: Ah, if the main loop you refer is SDL_Event loop, as exDM69 said, SDL always supported passive event functions that can be called at your original idle function. SDL 2.0 adds an active event watcher (SDL_AddEventWatch etc.) as an alternative though.
Re: SDL 2.0.0 is out after many years in development
#6Re: SDL 2.0.0 is out after many years in development
#7I never understood SDL vs OpenGL. As somebody who does OpenGL why should I use SDL?
Re: SDL 2.0.0 is out after many years in development
#8I remember using SDL more than a decade ago and in general it was a pleasant experience. My only gripe was that it needs to hijacked the main loop. Nevertheless, I will give it a shot again. Good work Sam!
SDL has never hijacked the main loop, unlike e.g. GLUT. SDL has SDL_WaitEvent and SDL_PollEvent and leaves the main loop to you.
Re: SDL 2.0.0 is out after many years in development
#9Looks like they changed their license from LGPL to zlib as well. I wonder if this will increase adoption, or if it just was so Valve could use it in Steam for Linux.
Re: SDL 2.0.0 is out after many years in development
#10I never understood SDL vs OpenGL. As somebody who does OpenGL why should I use SDL?
OpenGL by itself is useless, it just does 3D graphics, and its GLUT library is too bare-bones to be of much use. SDL is a good, portable chassis for OpenGL application that don't need native GUI integration. An SDL OpenGL app will compile and run almost anywhere, with minimal fuss. Compare that to using OpenGL contexts inside platform-specific toolkits.