Chromium Code Reviews
Descriptioncc: Compute RenderSurfaceImpl's TransformTreeIndex using its effect node
This makes RenderSurfaceImpl::TransformTreeIndex use the surface's effect
node rather than its owning layer to find its transform id. For non-root
surfaces, the transform id from the effect node matches the id we
previously got from the owning layer. For the root surface, the id on
the effect node is kRootNodeId (that is, 0) while we previously got
kContentsRootNodeId (that is, 1) from the owning layer; returning
kRootNodeId makes more sense since the draw transform and screen space
transform for the root render surface are defined to be the identity,
and don't include the transform from node 1 to node 0.
BUG=679837
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2632313002
Cr-Commit-Position: refs/heads/master@{#444060}
Committed: https://chromium.googlesource.com/chromium/src/+/695875dd4c75b268f423628eae300a700e156751
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 17 (13 generated)
|
|||||||||||||||||||||||||||||||||||||