Chromium Code Reviews
Descriptioncc : Reland Move screen space scale factor to root transform node
This CL computes the screen space scale factor which is
combined form scale factors of device transform, device
scale factor and page scale factor(if required), and stores
it on the root transform node as its surface contents scale.
This also implicitly fixes a clipping bug.
TransformTree::ComputeTransforms(a, b) should return the
transform between a and b without the surface contents
scale. But, since screen space scale was baked into the
local transform of the contents root node (before this CL),
ComputeTransform(a, root) was having the scale baked in.
(and this caused the bug)
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Review-Url: https://codereview.chromium.org/2408243002
Cr-Commit-Position: refs/heads/master@{#427366}
(cherry picked from commit 61fa0fb418a3f77665e0bc1be88ec5a2984c6dc6)
Committed: https://chromium.googlesource.com/chromium/src/+/b96a29859b70eea11eacefef82b25318d43700fc
patch from issue 2452023003 at patchset 1 (http://crrev.com/2452023003#ps1)
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=644582
Patch Set 1 : Original Patch #Patch Set 2 : Reland patch #
Messages
Total messages: 11 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||