xserver-multidpi/composite
Ville Syrjälä f3480286ae composite: Support updating an arbitrary subtree
Rename compUpdateWindow to compPaintWindowToParent and split the child
walk to compPaintChildrenToWindow. Calling compPaintChildrenToWindow
allows an arbitrary subtree to be updated, instead of having to update
all the windows. This will be used to make sure all the descendants are
copied to the parent 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@nokia.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2011-01-05 11:57:31 -08:00
..
compalloc.c composite: Support updating an arbitrary subtree 2011-01-05 11:57:31 -08:00
compext.c Sun's copyrights now belong to Oracle 2010-12-07 11:10:35 -08:00
compinit.c composite: Support updating an arbitrary subtree 2011-01-05 11:57:31 -08:00
compint.h composite: Support updating an arbitrary subtree 2011-01-05 11:57:31 -08:00
compositeext.h Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00
compoverlay.c Sun's copyrights now belong to Oracle 2010-12-07 11:10:35 -08:00
compwindow.c composite: Support updating an arbitrary subtree 2011-01-05 11:57:31 -08:00
Makefile.am Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00