libSDL per pixel alpha blending

Using Pygame, I made a TGA in Photoshop with a
continous alpha channel and loaded it into an image
surface and watched it blit. Beeeaaaauutiiifulllll!!!

It’s kind of compute intensive though. Time for
some MMX asm hacking on the libSDL source?
(Rubbing my hands in insane glee…! =)

It’s kind of compute intensive though. Time for
some MMX asm hacking on the libSDL source?

i’m quite eager to do this as well but in a more orderly fashion than the
current ad-hoc asm litter, and not only for MMX but for other vector
extensions as well

for the time being, use DisplayFormatAlpha (or the pygame equivalent)
to make convert your source image into a format optimal for alpha blitting.
Use RLE for even higher performance

i’m quite eager to do this as well but in a more orderly fashion than the
current ad-hoc asm litter, and not only for MMX but for other vector
extensions as well

Is there an asm blitter right now? Doesn’t
seem to be present in SDL_blit_A.c in the
fairly recent (few weeks old) CVS shot I have.On 17 Mar 2001 12:21:38 -0800, “Mattias Engdeg?rd” wrote:

Is there an asm blitter right now? Doesn’t
seem to be present in SDL_blit_A.c in the
fairly recent (few weeks old) CVS shot I have.

no. 1.3 stuff