Descriptioncc: Fix property tree position updates when rebuilding is skipped
The parent_offset currently stored at each transform tree node sometimes
depends on the transform between some other node (which happens to
correspond to node's owning layer's parent's transform node) and the node's
parent. When this transform changes and the transform tree isn't rebuilt,
the parent_offset becomes stale. This CL replaces parent_offset with
source_offset, which is the portion of parent_offset that doesn't depend on
a transform between tree nodes, and adds a source_node_id to each node
so that the transform between nodes (when needed) can be recomputed
when the transform tree is updated.
BUG=480589
Committed: https://crrev.com/f09db896fac58260590729fbba5f285ba06b7cd3
Cr-Commit-Position: refs/heads/master@{#326894}
Patch Set 1 #Patch Set 2 : Add test #
Messages
Total messages: 7 (2 generated)
|