Quoting Ville Syrj?l? ([EMAIL PROTECTED]): > On Wed, Feb 12, 2003 at 11:39:53AM -0500, >[EMAIL PROTECTED] wrote: > > As one can start multiple XFree86 instances on a single machine, each > > using a separate VT (switching between them with ALT-CTRL-Fn), I am > > wondering if the same can be done with XDirectFB. > > >From the TODO: > Rework VT handling. Readd VT switching and Suspend/Resume. > > So it's not possible currently. Apparently it was working at some point in > the past.
It did work for single app long time ago. Readding it even for multi app isn't impossible. There are these steps to be taken by the master to switch away: - Call CloseDevice() on all input devices. - Exclusively lock all layers (dfb_layer_purchase()). - Kick out all auto video buffers (possibly updating the sysmem instance). - Safe contents of all video only buffers. - Reject locks on video memory instances and redirect locks on video only buffers to their system memory backup. This way no application will be blocked. There's one big problem left. What if there are surfaces permanantly locked in video memory by an application like XDirectFB currently does? XDirectFB will be modified to lock the surfaces on demand with a lazy unlock. Oh, and another one. What if there's a fullscreen application running? Step two would fail... -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
