Fast Alpha Blending - Attn: MrCredo
BlitzPlus Forums/BlitzPlus Programming/Fast Alpha Blending - Attn: MrCredo
| ||
MrCredo, I saw your Blend routines for Blitz and took a few minutes to optimize them further. I benchmarked the 16, and 32 bit alpha blend routines (my card doesn't support the 24 bit mode), then did it again with my optimizations. When testing I displayed the Frames Per Second that I was drawing the alpha'd image (your count / msTime * 1000.0). The FPS does vary a bit from one second to the next so I am showing the rough range of FPS below. Here are the times Routine Original FPS Optimized FPS alpha16 308-314 777-805 alpha32 174-182 290-300 As you can see you get almost a 100% speed increase. Since you wrote these routines I want to get your permission to post the new version on the Blitz Forum. Or even better maybe I can send them to you and you can put them up on your web-site. If want want to mention my name feel free, but you have my permission to use the new version in whatever way you want. Sincerely, - Ken Rogoway Owner, Homebrew Software www.homebrewsoftware.com |
| ||
I would like to use the routines. PLease make them freeware MrCredo. |
| ||
i update all files soon... |