A new CVS snapshot is now available:
http://www.devolution.com/~slouken/SDL/cvs.html
Changes:
- Added SDL_ASYNCBLIT flag for asynchronous video updates
- Don’t let the WM place window in X11 fullscreen mode
- Unload GL library after X11 display has closed
- Fixed X11 error when a clipped rectangle is updated
- Fixed crash when surface memory can’t be allocated
- Added a check for DirectX 5 audio (thanks Markus)
The SDL_ASYNCBLIT code is a big enhancement (from the WhatsNew file):
Added support for asynchronous blitting. To take advantage of this,
you must set the SDL_ASYNCBLIT flag when setting the video mode and
creating surfaces that you want accelerated in this way. You must
lock surfaces that have this flag set, and the lock will block until
any queued blits have completed.
Currently this is only implemented on X11 when you are on a multi-cpu
system. It turned out to actually be slower on a single-cpu system
because the X server and the application are contending for the CPU
at the same time.
Eventually this flag will be used by the Win32 DirectX code to provide
page locking and DMA directly from software surfaces to video memory,
using the new DirectX 7.0 interfaces.
Enjoy!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software