[Vm-dev] BitBlt looking for rule blitting an alpha mask + constant
color
Andreas Raab
andreas.raab at gmx.de
Sat Jun 20 00:34:16 UTC 2009
Igor Stasenko wrote:
> 2009/6/20 Andreas Raab <andreas.raab at gmx.de>:
>> Easy. Make a color map that is set up such that
>>
>> cmap := Bitmap new: 256.
>> 0 to: 255 do:[:i|
>> cmap at: i+1 put: (constColor alpha: i/255.0) pixelValue32.
>> ].
>
> That is possible, but the price is generating a color map each time
> the color changes :(
> Much less price than converting/using 32 bpp, but still is not perfect :)
It's utterly trivial to cache it. If you're using this for font display
you'll only have a few colors to deal with so the cache won't be big.
> Any advice, how to force rule 41 work correctly? Or it is impossible? :)
>
> Btw, i don't sure that my VM (windoze) having latest & fixed rule 41.
> I remember there were problems with it.
I'm not sure what rule 41 does. The Windows VM contains whatever is in
VMMaker.
Cheers,
- Andreas
More information about the Vm-dev
mailing list