HI Friends, I am facing problem with Flip() Interfaces,below is my code,here i have two threads one is for to display text and one is to clear by FillRectangle or Clear,i am able display text but not clear.
Please help. calling thread A: ret = primary->GetSubSurface(primary,&rect,&subsurface); ret = subsurface->SetFont(subsurface,font); ret = subsurface->DrawString(subsurface,text,-1,i,20,DSTF_RIGHT); ret = primary->Flip (primary, NULL, DSFLIP_WAITFORSYNC); calling thread B: ret = primary->SetColor(primary,0x00,0x00,0x00,0xFF); ret = primary->FillRectangle(primary,0,0,screen_width,screen_height); ret = primary->Flip (primary, NULL,DSFLIP_ONSYNC); Flip not filling the Screen with given color. Looking forward for your help.
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users