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?
You can only blit from front to back with a Blit() onto the surface itself. Do you want to abandon windows and do the management yourself to avoid further allocations? -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
