Order of the Butterfly
Posts: 167 from 2009/11/26
@Crumb
I imagine that h/w accelerating Mask functions would not be efficient - every time you called BltMaskBitMapRastPort(), it would have to convert the supplied 1-bit mask bitmap (which could have changed) into an 8-bit (or more) alpha channel bitmap.
Since masks are stored in non-video ram, and alpha bitmaps are stored in video ram, that would involve the CPU reading every pixel of the mask bitmap & making a write to the alpha bitmap. If you were going to do that, it wouldn't be much slower for the CPU to just write the actual (unmasked) pixels to the bitmap target of BltMaskBitMapRastPort(). i.e. what it is already doing.
Author of the
PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...