Description[SPv2] Begin to convert the Blink transform tree to cc.
This is a first step toward building cc transform nodes from their Blink
counterparts. No squashing is done, and there is still data such as 3D rendering
contexts missing from this.
This maintains the same state of working that poster circle, or similar pages,
had beforehand, but the matrices are no longer multiplied by Blink, but instead
produce separate transform nodes visible to the compositor.
Since transform nodes still require an owning layer, fictitious sibling layers
are created for each transform node and attached to the root layer, but these
have no children and draw no content. They should be eliminated once cc no
longer expects them to exist.
Some more unit tests are migrated from the non-flat test cases, including a
check that distinct transform nodes are assigned.
To make it easier to inspect these trees now that they're non-trivial, an
additional trace event for property trees received (rather than built) by cc
was added.
BUG=563667
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/8afe68e6246bc2dd7080bf4fac3b6fea83d79297
Cr-Commit-Position: refs/heads/master@{#402466}
Patch Set 1 #Patch Set 2 : I can haz unit test #
Total comments: 3
Patch Set 3 : dummyTransformParent -> rootLayer #
Total comments: 1
Messages
Total messages: 17 (7 generated)
|