On Fri, Jun 22, 2007 at 05:19:48PM -0500, Lloyd Sargent wrote:
> On Friday 22 June 2007 13:19, Denis Oliver Kropp wrote:
> > Lloyd Sargent wrote:
> > > On Friday 22 June 2007 03:28, Ville Syrjälä wrote:
> > >> On Thu, Jun 21, 2007 at 03:43:54PM -0500, Lloyd Sargent wrote:
> 
> > If you have multiple windows and you don't update the whole screen,
> > e.g. window covering the whole screen, there is no real hardware flip
> > used so far.
> >
> > I don't think we need to copy the whole front buffer after an update.
> > The following should be sufficient:
> >
> > - compose portion into back buffer
> > - flip to back buffer
> > - blit from (new) front to back buffer
> >
> > It's not blitting more than before. Just a flip in between.
> >
> > Did not think about software cursor implementation in this scenario though.
> 
> Okay, one stupid question.
> 
> How do I get a surface for the front and back buffer so I can do a blit?

If you blit a surface onto itself you will get a front->back blit.

-- 
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