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

Issue 2712053002: cc : Fix transform calculation bug while calculating clip rects (Closed)

Created:
3 years, 10 months ago by jaydasika
Modified:
3 years, 10 months ago
Reviewers:
ajuma, weiliangc
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc : Fix transform calculation bug while calculating clip rects The bug is while calculating the transform from a clip parent's target to clip child's target. We weren't taking into account the surface contents scale at both targets. This CL fixes that. Also verified that the new clip rects path (which is behind a flag) doesn't have this bug, we do the correct scaling there already. BUG=693213 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2712053002 Cr-Commit-Position: refs/heads/master@{#452987} Committed: https://chromium.googlesource.com/chromium/src/+/264a0dd42bb8612ab0d2d60645e722a7758b013e

Patch Set 1 #

Total comments: 1

Patch Set 2 : clean_up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -51 lines) Patch
M cc/trees/draw_property_utils.cc View 1 4 chunks +14 lines, -27 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 2 chunks +7 lines, -4 lines 0 comments Download
M cc/trees/property_tree.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/property_tree.cc View 1 1 chunk +0 lines, -16 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
jaydasika
PTAL https://codereview.chromium.org/2712053002/diff/1/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/2712053002/diff/1/cc/trees/draw_property_utils.cc#newcode85 cc/trees/draw_property_utils.cc:85: ConcatInverseSurfaceContentsScale(source_node, &clip_to_target); We do the same thing in ...
3 years, 10 months ago (2017-02-24 01:08:39 UTC) #3
jaydasika
Patch 2 is just a clean-up which makes the code easier to understand by removing ...
3 years, 10 months ago (2017-02-24 01:28:52 UTC) #8
weiliangc
LGTM
3 years, 10 months ago (2017-02-24 23:00:34 UTC) #11
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/2712053002/20001
3 years, 10 months ago (2017-02-24 23:12:33 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 23:18:11 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/264a0dd42bb8612ab0d2d60645e7...

Powered by Google App Engine
This is Rietveld 408576698