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

Issue 2187403002: cc : Use screen space transform for computing translation (Closed)

Created:
4 years, 4 months ago by jaydasika
Modified:
4 years, 4 months ago
Reviewers:
ajuma, weiliangc
CC:
chromium-reviews, cc-bugs_chromium.org, sunxd
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc : Use screen space transform computing translation Since flattenning won't effect the result, TransformTree::ComputeTranslation can use screen space transform instead of calling ComputeTransforms. BUG=622372 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/b7a8f7678a999ba33e509e918e8e339956e3d150 Cr-Commit-Position: refs/heads/master@{#408462}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M cc/trees/property_tree.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M cc/trees/property_tree.cc View 1 2 1 chunk +17 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
jaydasika
PTAL
4 years, 4 months ago (2016-07-28 19:01:55 UTC) #4
ajuma
lgtm https://codereview.chromium.org/2187403002/diff/20001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2187403002/diff/20001/cc/trees/property_tree.cc#newcode164 cc/trees/property_tree.cc:164: // Since the transform between source and destination ...
4 years, 4 months ago (2016-07-28 19:06:14 UTC) #7
jaydasika
https://codereview.chromium.org/2187403002/diff/20001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2187403002/diff/20001/cc/trees/property_tree.cc#newcode164 cc/trees/property_tree.cc:164: // Since the transform between source and destination is ...
4 years, 4 months ago (2016-07-28 19:12:53 UTC) #8
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/2187403002/40001
4 years, 4 months ago (2016-07-28 19:13:42 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-28 20:23:15 UTC) #13
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/b7a8f7678a999ba33e509e918e8e339956e3d150 Cr-Commit-Position: refs/heads/master@{#408462}
4 years, 4 months ago (2016-07-28 20:26:07 UTC) #15
tapted
4 years, 4 months ago (2016-07-29 00:42:42 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2188413002/ by tapted@chromium.org.

The reason for reverting is: Causes
ExtensionCrxInstallerTest.InstallDelayedUntilNextUpdate to fail on linux debug

links:
https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%2...
https://findit-for-me.appspot.com/waterfall/build-failure?url=https://build.c...

errors like

ExtensionCrxInstallerTest.InstallDelayedUntilNextUpdate (run #1):
[ RUN      ] ExtensionCrxInstallerTest.InstallDelayedUntilNextUpdate
[1:1:0728/152609:FATAL:property_tree.cc(181)] Check failed:
transform->IsApproximatelyIdentityOrTranslation(SkDoubleToMScalar(1e-4)).
..
#2 0x7f99d9f73a0d cc::TransformTree::ComputeTranslation()
#3 0x7f99d9f74189 cc::TransformTree::UpdateLocalTransform()
#4 0x7f99d9f73ece cc::TransformTree::UpdateTransforms()
#5 0x7f99d9fa0ce0 cc::(anonymous namespace)::AddTransformNodeIfNeeded<>()
#6 0x7f99d9f9e98d cc::(anonymous namespace)::BuildPropertyTreesInternal<>().

Powered by Google App Engine
This is Rietveld 408576698