[Prev] Table Of Contents [Next]

What platforms does it run on?

Linux
  • Uses X11 for video display, taking advantage of XFree86 DGA extensions and new MTRR acceleration for fullscreen display.
  • Uses the OSS API for sound.
  • Threads are implemented using either the clone() system call and SysV IPC, or glibc-2.1 pthreads.
Tip:
You can get at the hidden portions of the SDL driver interface via the SDL_GetWMInfo() function. This allows you to do things like remove window decorations and programmatically iconify your window.
Win32
  • Two versions, one safe for all systems based on Win32 APIs, and one with higher performance, based on DirectX APIs.
  • Safe version uses GDI for video display. High performance version uses DirectDraw for video display, taking advantage of hardware acceleration if available.
  • Safe version uses waveOut APIs for sound. High performace version uses DirectSound for audio playback.
Tip:
You must call the SDL event functions periodically from your main thread to pump the Windows message queue and keep your application responsive.
BeOS
  • BWindow is used for video display.
  • BSoundPlayer API is used for sound.
Tip:
Linux and BeOS support the SDL_INIT_EVENTTHREAD flag which, when passed to SDL_Init(), asks the event loop to run asynchronously in another thread. This is useful for color cursors that respond even when the application is busy.
Unofficial ports, ports in progress
  • Solaris, IRIX, FreeBSD
  • MacOS

[Prev] Table Of Contents [Next]