Preserve compositor damage from decomposited transforms
Transform nodes store a changed field that is used to cause damage in the compositor (see: PaintArtifactCompositor::PropertyTreeStateChanged). We need to ensure changed state is not lost when decompositing (see: PaintArtifactCompositor::DecompositeTransforms). This patch takes a simple approach of recording the changes of decomposited transform nodes on PendingLayers, and using that to cause damage. This fixes a bug where a change on a decomposited transform node failed to cause damage. http://crrev.com/c/2626192 explored an approach of not decompositing nodes with changes but that leads to unnecessary additional layers. Bug: 1164513 Change-Id: I9c6d68f748772e9c2a86158e62bc0c7db3e8733f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627943 Commit-Queue: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Auto-Submit: Philip Rogers <pdr@chromium.org> Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#843292}
Showing
Please register or sign in to comment