Descriptioncc: Fix screen-space transform flattening in CalcDrawProps
When computing a layer's screen-space transform, CalcDrawProps
currently flattens the target-to-screen-space transform used only if
the layer itself flattens transforms. However, a layer's
should_flatten_transform property is intended to affect flattening seen
by descendants, not flattening seen by the layer itself.
Since render surfaces act as a flattening point for their subtree, this
CL makes CalcDrawProps always flatten the full_hierarchy_matrix passed
by render surfaces to their children.
Committed: https://crrev.com/246190a883072e68382dd03b424697bca84580ce
Cr-Commit-Position: refs/heads/master@{#320144}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix Windows build #
Messages
Total messages: 7 (2 generated)
|