On Thu, Aug 30, 2007 at 04:41:57PM +0000, Homam Dabis wrote:
> So this means that both the secondary and the primary surfaces need to be in 
> video memory for accelerated blitting.

Yes. If you set DSCAPS_VIDEOONLY the surface is always in video
memory, if you don't set either flag DirectFB can migrate the surface
to/from video memory automagically.

> Assuming that then, am I right in thinking that in order to write to a 
> secondary surface, we have to use directfbs rendering functions.

No, you can render with basically anything that uses the CPU and accepts a
pointer to the data and pitch. Just Lock(), render, Unlock().

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to