> > Log message: > > Check pixelformat when enabling alphachannel (it should be AiRGB, I think). > > Can you please backout this change ? > > To my opinion, signalling that a graphic device requires inverted alpha > handling, should be done in a separate API call.
Initially, I thought the same (see previous discussion) but I've now had second thoughts and I like Claudio's solution -- if you enable an alpha channel on the layer, the only 'correct' pixelformat is AiRGB. I've also now implemented accelerated blitting for AiRGB surfaces so you can probably simplify your drawing somewhat. The best strategy now is to do your composition (if any) on an ARGB surface and then blit to the AiRGB layer surface. If you don't need to do any composition on the graphics layer, you can draw to it directly. Claudio: any thoughts? Cheers, Mark _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
