....I had a post on this topic already, it seems as if the title was removed so I cannot acsess the thread...All I see is my name....I am using Mozilla

Anyway.

I was asking for a 2D AlphaBlending routine to fade the screen to black...
I wrote one myself and it works just fine, absolutely fine....SLOW, SO VERY SLOW.

NoteMe suggested 3D, which if you search around on this topic everyone is suggesting use 3D thus hardware to deal your alpha blending.

Well I plain dont want to. I want it done simple and easy in 2D, there is no other easy way to intrigrate it in my game. A simple screen fade that is it.


So is there anyway to speed up the 2D GetPixel() SetPixel() AlphaBlend technique. All I do is look through the source pic, get the pixel from the destination and the source, using an alpha value I calculate the new pixel and set that pixel on a new surface I call AlphaSurface.

It runs fairly fast on small pics. But for the entire screen, it takes forever...5-10 seconds a frame to slowly fade the entire screen (backbuffer then flip).