Strelchun, Timothy wrote: > The following is my understanding of DFB triple buffering: > > 1. If a layer is triple buffered, IDirectFBDisplayLayer::GetSurface() > always returns the IDirectFBSurface interface pointer to the next > available back buffer/surface.
GetSurface() always returns the same surface with three buffers. > 2. After Flip() is called, locking the surface using the same interface > pointer will lock the next available back buffer. Yes. > 3. There is no way to simultaneously obtain IDirectFBSurface interface > pointers for each of the three buffers. The interface is for all buffers at once, you cannot directly get an interface for a specific buffer. Do you need that for (hardware) video decoding? I'm planning to add support for buffer indices for these methods: FlipTo( index ) GetFramebufferOffset( index ) LockBuffer( index ) The names are not final. -- 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
