Re: [AD] Allegro iprovements

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Vincent Penquerc'h wrote:

[snip]

On a side note, maybe fblend would help there, since it
has a function call per scanline instead of per pixel.
Look it up on ... sourceforge IIRC ..


http://sf.net/projects/fblend/

Not only does it have one function call/scan line (internally), but it also uses more efficient algorithms for blending, and works with packs of 4 or 8 pixels at a time to speed up things.

If you get the CVS version, it can work with 15/16/32bpp images, and has some more blenders. I don't have a 'tint' mode yet, but that can be done by trans blitting your tank over a background image of a certain color.


--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (my CS prof)
http://pages.infinit.net/voidstar/



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/