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

Andy Ritger <[email protected]> Tue, 18 May 2004 09:31:09 -0400 (EDT)
Newsgroups gmane.comp.freedesktop.xserver,gmane.comp.video.dri.devel,gmane.comp.freedesktop.xorg
Message-ID <[email protected]>

On Tue, 18 May 2004, Soeren Sandmann wrote:

> Keith Packard <[email protected]> writes:
>=20
> > As long as the compositing manager holds the server grabbed (which
> > presumably locks out direct clients as well) while it updates the
> screen,
> > there shouldn't be any tearing.  No need to drain the event queue or=20
> > anything else so dramatic.
>=20
> 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.

- Andy

> S=F8ren
>=20