On 05/04/12 14:55, Andre DRASZIK wrote:
> Hi,
>
> On Fri, 2012-05-04 at 03:48 -0700, Marc Lantelme wrote:
>> > DFBCHECK(gWavePeerPrimary->SetBlittingFlags(gWavePeerPrimary,
>> > DSBLIT_BLEND_ALPHACHANNEL));
>> > DFBCHECK(gWavePeerPrimary->SetDrawingFlags(gWavePeerPrimary,
>> > DSDRAW_BLEND));
> DirectFB's default blend mode is not a porter duff mode, which has two
> implications:
> - blend results are unexpected and not what you want
> - this blend mode can only be accelerated in very specific cases with
> the driver you are using.
>
> You might want to
> surface->SetPorterDuff (surface, DSPD_SRC_OVER);
>
>
There's a blending howto in the Wiki:
http://www.directfb.org/wiki/index.php/Blending_HOWTO
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users