On Thu, 06 May 2010 10:30:25 -0400, Adam Jackson <[email protected]> wrote:

> Oh, gross.  If I'm reading this right, miPaintWindow clips by children
> (not IncludeInferiors, and called after map and validate), which means
> if you map an entire subtree at once, the bg=None regions poke through.
> Is that accurate?

Yes. bg=None means leave the contents on the screen, however deep the
window is in the tree.

> I'm not totally convinced that's required by the protocol, but I can
> imagine it being required by applications.  It's easy enough to check,
> and the tree walk will almost certainly be faster than the blit.

It's not required, but applications expect it, which is why the current
code does the expensive copy. Walking the tree and collecting the None
region would be a great option.

-- 
[email protected]

Attachment: pgpoSUvnYMYgf.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