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

Issue 2180223005: cc : Split TransformTree::ComputeTransform (Closed)

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

Description

cc : Split TransformTree::ComputeTransform ComputeTransform is too general as we can call it with any transform nodes. To to able to effectively use the new transforms caching system, we have to know more information. I added ComputeTransformsToTarget for this reason. This CL adds ComputeTransformsFromTarget and ComputeTranslation. With this CL, TransformTree::ComputeTransforms is only called by tests, for computing target space transform while updating transform tree, and from these new functions. Also changed the return value of TransformTree::CombineTransformBetween from bool to void as it always returns true. BUG=622372 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/4a2bde300742723c46df1f1917636726d46389c7 Cr-Commit-Position: refs/heads/master@{#408409}

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Patch Set 3 : . #

Total comments: 1

Patch Set 4 : comment #

Patch Set 5 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -27 lines) Patch
M cc/trees/draw_property_utils.cc View 3 chunks +6 lines, -7 lines 0 comments Download
M cc/trees/property_tree.h View 1 2 3 3 chunks +15 lines, -4 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 3 4 6 chunks +39 lines, -15 lines 1 comment Download
M cc/trees/property_tree_builder.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 49 (34 generated)
jaydasika
PTAL
4 years, 4 months ago (2016-07-27 00:25:27 UTC) #6
ajuma
Generally looks good, just some nits about ComputeTransformFromSourceToParent: https://codereview.chromium.org/2180223005/diff/1/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2180223005/diff/1/cc/trees/property_tree.cc#newcode161 cc/trees/property_tree.cc:161: bool ...
4 years, 4 months ago (2016-07-27 15:57:11 UTC) #9
jaydasika
https://codereview.chromium.org/2180223005/diff/1/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2180223005/diff/1/cc/trees/property_tree.cc#newcode161 cc/trees/property_tree.cc:161: bool TransformTree::ComputeTransformFromSourceToParent( On 2016/07/27 15:57:11, ajuma wrote: > Since ...
4 years, 4 months ago (2016-07-27 18:42:24 UTC) #13
ajuma
lgtm https://codereview.chromium.org/2180223005/diff/60001/cc/trees/property_tree.h File cc/trees/property_tree.h (right): https://codereview.chromium.org/2180223005/diff/60001/cc/trees/property_tree.h#newcode157 cc/trees/property_tree.h:157: bool ComputeTranslation(int source_id, Please add a comment explaining ...
4 years, 4 months ago (2016-07-27 19:00:32 UTC) #22
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/2180223005/80001
4 years, 4 months ago (2016-07-27 19:23:21 UTC) #26
commit-bot: I haz the power
Your CL was about to rely on recently removed CQ feature(s): * master.tryserver.blink builder linux_blink_rel ...
4 years, 4 months ago (2016-07-27 19:23:23 UTC) #28
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/2180223005/80001
4 years, 4 months ago (2016-07-27 19:24:52 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/111757)
4 years, 4 months ago (2016-07-27 20:35:18 UTC) #33
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/2180223005/80001
4 years, 4 months ago (2016-07-27 20:38:42 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/111802)
4 years, 4 months ago (2016-07-27 21:42:59 UTC) #37
jaydasika
https://codereview.chromium.org/2180223005/diff/100001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2180223005/diff/100001/cc/trees/property_tree.cc#newcode166 cc/trees/property_tree.cc:166: transform->IsApproximatelyIdentityOrTranslation(SkDoubleToMScalar(1e-4))); Had to change this as some browser tests ...
4 years, 4 months ago (2016-07-28 02:18:04 UTC) #40
ajuma
On 2016/07/28 02:18:04, jaydasika wrote: > https://codereview.chromium.org/2180223005/diff/100001/cc/trees/property_tree.cc > File cc/trees/property_tree.cc (right): > > https://codereview.chromium.org/2180223005/diff/100001/cc/trees/property_tree.cc#newcode166 > ...
4 years, 4 months ago (2016-07-28 14:21:40 UTC) #43
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/2180223005/100001
4 years, 4 months ago (2016-07-28 16:15:18 UTC) #45
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 4 months ago (2016-07-28 17:22:31 UTC) #47
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 17:25:35 UTC) #49
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4a2bde300742723c46df1f1917636726d46389c7
Cr-Commit-Position: refs/heads/master@{#408409}

Powered by Google App Engine
This is Rietveld 408576698