[SDL] Accelerated Alpha Blending in SDL ?
Peter Mulholland
darkmatter at freeuk.com
Sun Jul 23 13:43:34 PDT 2006
Abhijit Nandy wrote:
> 1.Why doesn't SDL support h/w accelerated Alpha blending ? Will this issue be fixed in the future (1.3)?
Because it was never implemented in DirectDraw.
> 3.By the way i heard that parts of SDL are in assembly. But wont the compiler generate assembly code anyway ? Does hand coding the assembly allow more efficient code than that generated by the compiler?
Yes. The compiler doesn't know exactly what you're trying to do, so
writing a hand tuned routine in assembly is usually a lot faster. The
blitter routines in SDL further use MMX to speed things up.
Pete.
More information about the SDL
mailing list