[SDL] Alpha Blitter
Jonathan Dearborn
grimfang4 at hotmail.com
Sat Nov 18 17:33:23 PST 2006
Hey,
I've seen some chatter over this topic before (when I needed this blitter), so I wanted to check if anyone was still looking for this. Anyhow, here it is. It's quite crude and just tries to clip the rects and loop through the pixels. My preliminary speed tests may show that my implementation isn't suited to all projects. It'll work fine for pretty stuff, but it won't be replacing SDL_BlitSurface() in this state. The approximate speed test result was 1/2 speed. If anyone can offer any suggestions, help, or code, that'd be pretty cool.
http://www.eggdisk.com/files/99049_5lzpv/blendBlit1.0.zip
(This may not be the best place to host it (no .cpp files)... Where do you do it?)
Be sure to tell me what you think!
Jonathan Dearborn
_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial!
http://www.windowsonecare.com/purchase/trial.aspx?sc_cid=wl_wlmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20061118/919c1a1c/attachment.htm
More information about the SDL
mailing list