Sourath Roy wrote:
I got my wording wrong, yes it won't have a "blend". Destination component won't come here as its just DSPD_SRC. Sorry about that..

But won't the drawing get affected by the alpha component of the color? I mean if the alpha component of a pixel be 0, wouldn't that pixel be invisible?

If you fill or draw with alpha = 0, it still depends on how the destination surface is used or shown.

Writing to a surface of a window which is blended with the windows below (DWCAPS_ALPHACHANNEL) will give you different visibility of the window's
pixels depending on their alpha value.

But if the alpha value is not taken care of, you won't see a difference,
e.g. rendering to a layer directly without using DLOP_ALPHACHANNEL. That's most probably the case with the FBDev Primary Layer unless you have special driver that overrides or extends the fbdev implementation.

--
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

Reply via email to