Just commited a fix to the CVS.
You need to update both DirectFB and DirectFB-extra.


Thanks for that.  I think it may be a bit restrictive though as it stops you
working with ARGB throughout (to get accelerated blending) and then using an
XOR rectangle fill to flip the alpha for display.  As a result I think it's
likely to have broken some existing client code.

I wonder if a better solution would be to add a new layer capability, say
DLCAPS_IALPHACHANNEL, and let the unichrome driver tell people it supports
that and not DLCAPS_ALPHACHANNEL.  Then user code can make an informed
decision as to whether to configure AiRGB as the pixel format and expect it
to work (albeit without accelerated stretchblits and blends), or whether to
configure ARGB and manage the inversion in the client code.

Thoughts?

Ideally, we would provide the same acceleration for AiRGB as ARGB but the
hardware can't do that.

Mark
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to