Implement merging non-composited paint property nodes in the PACompositor.
Currently, the PaintArtifactCompositor naively puts every PaintChunk into its own composited layer. This patch improves on that by merging a PaintChunk into the same layer as the PaintChunk which precedes it, if the new PaintChunk has a compatible PropertyTreeState (no directly composited property tree nodes between the state of the new PaintChunk and the old one). This algorithm is spelled out in a design doc, see crbug.com/668342. A large amount of this patch is additional tests and testing machinery to support the change in behavior. BUG=668342 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2581843002 Cr-Commit-Position: refs/heads/master@{#440775}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment