Transparency Internals

Is SDL’s handling of alpha and color key transparencies platform
independent and done by mangling memory, or does it use platform
specific low level code. If it is platform independent which source
file is that code in. (I kinda want to implement alpha masks, but
wanted to know how it was all being handled first).

Phoenix Kokido
members.xoom.com/kokido
@Wes_Poole

Is SDL’s handling of alpha and color key transparencies platform
independent and done by mangling memory, or does it use platform
specific low level code. If it is platform independent which source
file is that code in. (I kinda want to implement alpha masks, but
wanted to know how it was all being handled first).

It’s platform independent right now, and done by mangling memory.
The code is in src/SDL_blit_*.c

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/