Quoting Chad Hardin:
>  
> On Dec 18, 2003, at 2:57 AM, Denis Oliver Kropp wrote: 
> 
> 
> > Quoting Chad Hardin: 
> > 
> > > I've been itching to make the SimplyGNUstep distro use something 
> > > other  
> > > than XFree86 for a long time now. 
> > > 
> > > As far as I can see, there are two ways I can go about this by 
> > > using  
> > > directfb. 
> > > 
> > > 1.  Use fusion, every GNUstep app will be a directfb app.  The 
> > > problem  
> > > with this is that AFACT fusion is a cooperative resource locking  
> > > scheme, is that the case?  If so, I don't think it would be 
> > > appropriate  
> > > for use in a desktop environment, especially with a sub-1.0 
> > > release of  
> > > gnustep-gui and an beta backend.  Hopefully I'm wrong about it 
> > > being  
> > > cooperative based. 
> > > 
> >  
> > What do you mean by "cooperative resource locking"? 
> > 
> > There are global locks for global resources, but these locks are 
> > only 
> > held as long as the core function that requires it is running. 
> > 
>  
> Ahh, so the likelihood of stale locks are small to none then? 

That's right. The only place where a lock is held longer is
the flipping of a surface with DSFLIP_WAITFORSYNC, but that should
be fixed soon.

> > > so my biggest question is:  Is fusion really cooperative based 
> > > locking?  
> > >  If so, how likely is that to cause problems for applications 
> > > which  
> > > hang while locking?  And, what are the plans for fusion in the 
> > > future,  
> > > can I expect any significant changes?  I noticed that there was 
> > > maximum  
> > > amount of 8 (or so) simultaneous clients (8 device nodes), will 
> > > this be  
> > > changed so that this number is higher (much higher)? 
> > > 
> >  
> > There are no clients, but "fusionees", one is the master, others 
> > are slaves. 
> > The number of fusionees is unlimited. Each device node is a fully 
> > separate 
> > "session" or "world". Usually you have one session, sometimes two. 
> > The number 
> > of sessions can be compared with the number of X servers you would 
> > run. 
> > 
>  
> 
> Has this been a recent change?  I remember the last time I tried fusion 
> there was a limit of only 8 device nodes. 

The limit is still at eight.

> I'm thinking I must have misunderstood what these device nodes where 
> used for.  I was under the impression that every client needed it's own 
> device node! 

No, all fusionees within one session open the same device node.

> If that is indeed the case then I'm gonna start planning for a new 
> directfb backend for gnustep.  You may remember I made the objective-c 
> bridge for DirectFB a while back.  the whole purpose of that was to 
> make the creation of a DirectFB backend easier. 

GNUstep on DirectFB would be cool.

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

Reply via email to