Rudolf wrote: >> OK, let's see if I have this right. >> FrontBuffer = frame buffer. BackBuffer = a buffer the same size as >>frame buffer. >> If that's the case, where do you put the back buffer when >>app_server >>runs on haiku with accelerated drivers? [...] >>>front buffer updates are synced with the monitor refresh. >> >> Doesn't that require the back buffer being inside videoMem? >> Rudolf? > > Syncing itself does not: it's just waiting for that semaphore. Copying > the data only 'requires' the backbuffer to be on the gfxRAM if you want > to use the graphics GPU to blit it to the frontbuffer. Even then, it's > not supported to do that currently. You will be doing software copying > anyhow. > > The only way you can do a GPU blit would be to tell the gfx driver to > create a virtualscreen, and use the offscreen part of that for the > backbuffer. Other options do not exist with the current driver > architecture. Yup, just like Allegro game engine does. We should do that too for CopyRegions inside the HW accelerated version of DisplayDriver. Stephan, Michael? bye, Adi.