On 6/2/07, Ville Syrjälä <[EMAIL PROTECTED]> wrote:
On Sat, Jun 02, 2007 at 02:05:44AM +0800, catch wrote: > On 6/1/07, Claudio Ciccani <[EMAIL PROTECTED]> wrote: > > > >catch wrote: > >> primary->SetPorterDuff( primary, DSPD_SRC ); > >> > >> primary->SetBlittingFlags( primary, DSBLIT_BLEND_ALPHACHANNEL ); > >> > >> primary->SetDrawingFlags( primary, DSDRAW_BLEND ); > >> > >> primary->SetColor( primary, 0, 0, 255, 128 ); > >> > >> primary->FillRectangle( primary, 0, 0, width, height ); > >> > >> primary->Flip( primary, NULL, DSFLIP_WAITFORSYNC ); > >> > >> sub ->SetBlittingFlags(sub, DSBLIT_BLEND_ALPHACHANNEL ); > > > >If you simply want to copy the contents, set blittingflags to DSBLIT_NOFX. > > > thanks, but I tried that flag, > the alpha values were not copied from the surface and still set to 255?? > is there still anything wrong? Which gfxdriver are you using?
(*) DirectFB/Cmambolfb in checkvar ore: Multi Applimambolfb in checkvar cation Core. (20mambolfb in checkvar mambolfb in setpar mambolfb in pandisplay (!) Direct/Modules: Module 'libdirectfb_fbdev.mambolfb in pandisplay so' did not register itself after loading! Trying default module constructor... (!) Direct/Modules: ... even did not register after explicitly calling the module constructor! (*) Fusion/SHM: Not using MADV_REMOVE (2.6.15.0 < 2.6.19.2)! (*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 2380)... (!) Direct/Modules: Could not open module directory `/usr/gtk/lib/directfb- 1.0-0/gfxdrivers'! --> No such file or directory (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (!) Direct/Modules: Module 'libdirectfbwm_default.so' did not register itself after loading! Trying default module constructor... (!) Direct/Modules: ... even did not register after explicitly calling the module constructor!
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
