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

Issue 2191983002: cc : Use dynamically calculated target space transforms (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 dynamically calculated target space transforms In ComputeTransformToTarget and ComputeTransformFromTarget. This is turned on only when verify_transform_tree_calculations is true (only cc_unittests as of now) and when target is an ancestor (as that's the only case dynamically calculated target space transforms support right now) This CL also sets verify_transform_tree_calculations and verify_clip_tree_calculations in some tests. BUG=622372 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/853306aff63fc6a361ecc46589e1bf3f776214bf Cr-Commit-Position: refs/heads/master@{#408723}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -14 lines) Patch
M cc/layers/picture_layer_unittest.cc View 1 4 chunks +4 lines, -6 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/test_layer_tree_host_base.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/draw_property_utils.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 3 2 chunks +30 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
jaydasika
PTAL https://codereview.chromium.org/2191983002/diff/20001/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/2191983002/diff/20001/cc/trees/draw_property_utils.cc#newcode807 cc/trees/draw_property_utils.cc:807: clip_node->target_transform_id, parent_clip_node->target_effect_id, I am changing it to force ...
4 years, 4 months ago (2016-07-28 22:55:56 UTC) #5
jaydasika
4 years, 4 months ago (2016-07-28 22:56:42 UTC) #7
jaydasika
Added DCHECK to make sure old and new computations are same.
4 years, 4 months ago (2016-07-29 17:06:10 UTC) #12
ajuma
https://codereview.chromium.org/2191983002/diff/40001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2191983002/diff/40001/cc/trees/property_tree.cc#newcode2014 cc/trees/property_tree.cc:2014: DCHECK(expected.ApproximatelyEqual(*transform)); Since this has a relatively large tolerance for ...
4 years, 4 months ago (2016-07-29 18:03:18 UTC) #13
jaydasika
https://codereview.chromium.org/2191983002/diff/40001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2191983002/diff/40001/cc/trees/property_tree.cc#newcode2014 cc/trees/property_tree.cc:2014: DCHECK(expected.ApproximatelyEqual(*transform)); On 2016/07/29 18:03:18, ajuma wrote: > Since this ...
4 years, 4 months ago (2016-07-29 18:20:16 UTC) #14
ajuma
Thanks, lgtm
4 years, 4 months ago (2016-07-29 18:24:51 UTC) #15
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/2191983002/50001
4 years, 4 months ago (2016-07-29 18:25:55 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:50001)
4 years, 4 months ago (2016-07-29 19:29:30 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 19:31:33 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/853306aff63fc6a361ecc46589e1bf3f776214bf
Cr-Commit-Position: refs/heads/master@{#408723}

Powered by Google App Engine
This is Rietveld 408576698