Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Issue 2464103005: cc : Reland Move screen space scale factor to root transform node (Closed)

Created:
4 years, 1 month ago by jaydasika
Modified:
4 years, 1 month ago
Reviewers:
ajuma, weiliangc
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/branch-heads/2883
Project:
chromium
Visibility:
Public.

Description

cc : 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -145 lines) Patch
M cc/trees/draw_property_utils.cc View 10 chunks +54 lines, -82 lines 0 comments Download
M cc/trees/effect_node.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 chunk +8 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 9 chunks +53 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 chunk +5 lines, -9 lines 0 comments Download
M cc/trees/property_tree.h View 1 1 chunk +5 lines, -3 lines 0 comments Download
M cc/trees/property_tree.cc View 1 4 chunks +48 lines, -30 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 4 chunks +15 lines, -9 lines 0 comments Download
M cc/trees/property_tree_unittest.cc View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 1 chunk +15 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
jaydasika
This is the CL I want to land on M55 after the merge request is ...
4 years, 1 month ago (2016-11-03 18:40:27 UTC) #4
jaydasika
On 2016/11/03 18:40:27, jaydasika wrote: > This is the CL I want to land on ...
4 years, 1 month ago (2016-11-03 22:15:46 UTC) #5
jaydasika
On 2016/11/03 22:15:46, jaydasika wrote: > On 2016/11/03 18:40:27, jaydasika wrote: > > This is ...
4 years, 1 month ago (2016-11-04 18:49:55 UTC) #6
weiliangc
LGTM
4 years, 1 month ago (2016-11-04 18:55:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2464103005/40001
4 years, 1 month ago (2016-11-04 18:56:57 UTC) #9
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 19:05:24 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:40001)

Powered by Google App Engine
This is Rietveld 408576698