Hi all,
       currently i am working on DirectFB and i need to render some
different types of images, fonts, some graphics and game on my surface and i
have done that also, but when i use DirectFB-FillRectangle, when the
programe is running i can see the images, but finally after rendering of
images, i couldnt further see the images and i can only see only one
rectangle instead of all.
if i dont use DirectFB and if i use software, i get a good result, where i
get this issue only when i use FillRectangle.
Everytime i try the same, i get the same problem. i think it get refreshed.
i am doing this for my BDvd project. Can anyone help me out or any
suggestions will also do good for me.

below is my code

 m_pSurface->SetDrawingFlags(m_pSurface,  DSDRAW_BLEND /*|
DSDRAW_DEMULTIPLY*/);
 m_pSurface->SetColor(m_pSurface, RED(fgColor), GREEN(fgColor),
BLUE(fgColor), (0xff000000 & fgColor)>>24 );
 //m_pSurface->SetColor(m_pSurface,src[0],src[1],src[2], src[3]);  //changes
by kumar for testing
 m_pSurface->FillRectangle(m_pSurface, x, y, width, height);
 //m_pSurface->Flip(m_pSurface, NULL, DSFLIP_NONE);
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to