Michal Lebik wrote: > What flags should I use or maybe the cause of problem is different ?
To have working ARGB -> ARGB composition you should use surfaces with premultiplied alpha data, e.g. create your source with DSCAPS_PREMULTIPLIED before loading the image. Then you should use these settings for composition: SetPorterDuff( DSPD_SRC_OVER ) SetBlittingFlags( DSBLIT_BLEND_ALPHACHANNEL ) If you don't have a premultiplied source you can add the DSBLIT_SRC_PREMULTIPLY flag to have it premultiplied on the fly each time, but I would prefer already premultiplied data if possible. -- 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
