[PATCH v2 5/6] composite: Support updating an arbitrary subtree

Daniel Stone daniel at fooishbar.org
Fri Dec 31 07:10:46 PST 2010

On Fri, Dec 31, 2010 at 04:49:38PM +0200, ville.syrjala at nokia.com wrote:
> From: Ville Syrjälä <ville.syrjala at nokia.com>
> Rename compScreenUpdate to compChildrenUpdate, and pass a window as
> the parameter. This allows an arbitrary subtree to be updated, instead
> of having to update all the windows. This will be used to make sure
> all the children have been updated when the parent window contents need
> to be accessed in IncludeInferios sub-window mode.
> WindowRec has a new member 'damagedDescendants' that is used to keep
> track of which subtrees need updating. When a window is damaged,
> 'damagedDescendants' will be set for all the ancestors, and when a
> subtree is updated, the tree walk can be stopped early if no damaged
> descendants are present.
> CompScreenRec no longer needs the 'damaged' member since the root
> window's 'damagedDescendants' provides the same information.
> Signed-off-by: Ville Syrjälä <ville.syrjala at nokia.com>

Reviewed-by: Daniel Stone <daniel at fooishbar.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101231/500d5702/attachment-0001.pgp>

More information about the xorg-devel mailing list