[SDL] Making hardware surfaces
Sam Crow
samuraileumas at yahoo.com
Thu Jul 12 09:45:01 PDT 2007
Brian <brian.ripoff <at> gmail.com> writes:
> Don't put surfaces with alpha channels in video memory. AFAIK SDL
> cannot handle alpha blits in hardware, so all you end up doing is
> making more work by forcing SDL to copy the surface back to system
> memory during blits.
OpenGL can do alpha blits in hardware, though. If you need fast alpha blitting,
use an OpenGL wrapper like glSDL or hxRender. You can download hxRender at
http://joel.slylabs.com/?q=node/4 .
More information about the SDL
mailing list