LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - News (https://www.linuxquestions.org/questions/linux-news-59/)
-   -   SDL2 Released (https://www.linuxquestions.org/questions/linux-news-59/sdl2-released-4175473254/)

dugan 08-13-2013 11:37 AM

SDL2 Released
 
SDL2 has been released. Go check it out at http://www.libsd.org.


The announcement:

http://lists.libsdl.org/pipermail/sd...st/089854.html

Quote:

After many years in development, SDL 2.0.0 has finally been released!

http://www.libsdl.org/download-2.0.php
http://www.libsdl.org/projects/SDL_image/
http://www.libsdl.org/projects/SDL_mixer/
http://www.libsdl.org/projects/SDL_net/
http://www.libsdl.org/projects/SDL_ttf/

Ryan has put together an introduction to migrating your existing SDL application to 2.0:

http://wiki.libsdl.org/moin.fcg/MigrationGuide

More extensive documentation can be found on the community supported wiki:

http://wiki.libsdl.org/

Valve uses SDL 2.0 for game controller support and sundry other things in Steam, and the new release will be going into the Steam Linux Runtime in the next day or so.

These are the most important new features in SDL 2.0:
  • Full 3D hardware acceleration
  • Support for OpenGL 3.0+ in various profiles (core, compatibility, debug, robust, etc)
  • Support for OpenGL ES
  • Support for multiple windows
  • Support for multiple displays
  • Support for multiple audio devices
  • Android and iOS support
  • Simple 2D rendering API that can use Direct3D, OpenGL, OpenGL ES, or software rendering behind the scenes
  • Force Feedback available on Windows, Mac OS X and Linux
  • XInput and XAudio2 support for Windows
  • Atomic operations
  • Power management (exposes battery life remaining, etc)
  • Shaped windows
  • 32-bit audio (int and float)
  • Simplified Game Controller API (the Joystick API is still here, too!)
  • Touch support (multitouch, gestures, etc)
  • Better fullscreen support
  • Better keyboard support (scancodes vs keycodes, etc).
  • Message boxes
  • Clipboard support
  • Basic Drag'n'Drop support
  • Proper unicode input and IME support
  • A really powerful assert macro
  • Lots of old annoyances from 1.2 are gone
  • Many other things!
Enjoy!
--Sam Lantinga

TobiSGD 08-13-2013 02:49 PM

Nice. Two things missing in that list that I think are important:
- Full Wayland support, so any game using SDL2 will work in X and Wayland without a problem
- license changed to the zlib license, which may attract more commercial developers than the previous LGPL license.


All times are GMT -5. The time now is 02:08 AM.