On Sun, 17 Oct 2010 19:53:50 +0200, Adel Gadllah <[email protected]> wrote:

> +#ifdef COMPOSITE
> +    /*
> +     * Manually redirected windows don't affect the parent's clip
> +     * region, so skip the unnecessary and possible expensive
> +     * operations
> +     */
> +    if (pWin->redirectDraw == RedirectDrawManual)
> +        WasViewable = FALSE;
> +#endif
> +

You still have to update the sub-tree clip lists to account for the new
absolute position.

As discussed on IRC, I think there is an opportunity to improve
ValidateTree performance for manual redirect window trees by avoiding
marking sibling windows in miMarkOverlappedWindows and then by noticing
when all marked windows are manual redirect in miValidateTree.

-- 
[email protected]

Attachment: pgp8s7TOjKz8r.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to