I a writing am application where this command

                primary->Blit(primary,secondary,NULL,0,0);

with primary an argb32 surface and secondary a yuyv 16 surface.  I am
hoping to use StretchBlit () to deal with a situation where primary is
a 720p or 1080i/p surface and secondary is 480i or 576i  but I end up
with a blank screen.

One of the things I I though might work was

                DFBRectangle r1,r2;
                primary->GetVisibleRectangle(primary,&r1);
                secondary->GetVisibleRectangle(secondary,&r2);
                primary->StretchBlit(primary,secondary,&r2,&r1);
or
                primary->GetVisibleRectangle(primary,&r1);
                primary->StretchBlit(primary,secondary,NULL,&r1);

Any help would be appreciated.

Martin

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to