Re: [Xorg] Damage/Composite + direct rendering clients

Jim Gettys <[email protected]> Tue, 18 May 2004 12:02:08 -0400
Newsgroups gmane.comp.freedesktop.xserver,gmane.comp.video.dri.devel,gmane.comp.freedesktop.xorg
Organization HP Labs, Cambridge Research Laboratory
Message-ID <[email protected]>
On Tue, 2004-05-18 at 11:53, Soeren Sandmann wrote:
> Andy Ritger <[email protected]> writes:
> 
> > > What if another client has already grabbed the server for whatever
> > > reason? Is screen updating then turned off?
> > 
> > If a client has grabbed the server, then requests from all other
> > clients (including the XGrabServer request) are not processed until
> > that client has ungrabbed the server.  The composite manager would
> > block until the other client had ungrabbed.
> 
> But if the compositing manager is blocked, nothing appears on the
> screen, right? This means screen updating is effectively turned off
> when an application is grabbing the server.

Which is why avoiding server grabs is imporant, as much
as possible.  It takes a global lock out on the X server and
needs to be used with great care.
                        - Jim


-- 
Jim Gettys <[email protected]>
HP Labs, Cambridge Research Laboratory