An idea crossed my mind - what if we create specific blit fuctions for several alphablends where it is possible to optimize it? Like display->Blit50() (equal to setblending(127)), display->Blit25() (setblending(63)) ?
This can be useful to draw big objects which you want to be transparent somehow, i.e. clouds.
And also, we can optimize PixelAlphaBlend to be less accurate but one multiplication less in a way that fast_rx done it in his alphablit fuction. I'm not entirely undestand every part of his code, so it's a little trouble to me..
What do you think? Any code snippets are highly appreciated .