[RFC][PATCH] dix/composite: Update windows with automatically redirected children on demand

Keith Packard keithp at keithp.com
Mon Dec 27 12:32:06 PST 2010

On Mon, 27 Dec 2010 21:24:00 +0200, Ville Syrjälä <ville.syrjala at nokia.com> wrote:

> Right. GetImage at least seems useful for testing purposes.
> Not sure if other use cases are even worth considering.

CopyArea followed by GetImage is a nice hack which avoids the terrible
GetImage restriction (area must be on-screen or you get an
error). One can assume that a render-preferring application might use
Composite in the same fashion.

Might it be reasonable to add a subwindows mode flag to SourceValidate?
That would let us avoid work in the common case.

> I wonder if anyone actually uses automatic redirection? Well, I
> suppose implicit redirection can be useful when a composite
> manager is not used.

Yeah, for the ARGB visual.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101227/7108dd6c/attachment.pgp>

More information about the xorg-devel mailing list