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

Issue 1096493002: Make TransformTree::CombineTransformsBetween run faster (Closed)

Created:
5 years, 8 months ago by jaydasika
Modified:
5 years, 8 months ago
Reviewers:
Ian Vollick, ajuma
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

Make TransformTree::CombineTransformsBetween run faster TransformTree::CombineTransformsBetween is modified to compute the combined transform between source and destination directly (without walking the path) when the destination and all its ancestors are flat. A unit test is added to validate the patch. BUG=475636 TEST=passes all the unit tests along with the one added to validate the patch. Telemetry test on poster circle page shows improvement in performance. The draw_properties.tough_compositor:CDP_reduction percentage improved from -287.82% to -149.36%. Committed: https://crrev.com/fc88422b95407da518cd9bc535d50196d2d77d41 Cr-Commit-Position: refs/heads/master@{#325503}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Unit Test Description Changed #

Total comments: 1

Patch Set 3 : comment in unit test modified #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -1 line) Patch
M cc/trees/property_tree.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/property_tree_unittest.cc View 1 2 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
jaydasika
5 years, 8 months ago (2015-04-16 15:44:33 UTC) #2
ajuma
Nice work! I just have a few nits. Please update the description with any statistics ...
5 years, 8 months ago (2015-04-16 17:34:37 UTC) #6
jaydasika
https://codereview.chromium.org/1096493002/diff/1/cc/trees/property_tree_unittest.cc File cc/trees/property_tree_unittest.cc (right): https://codereview.chromium.org/1096493002/diff/1/cc/trees/property_tree_unittest.cc#newcode322 cc/trees/property_tree_unittest.cc:322: // flatten(B*A) = flatten(B)*A On 2015/04/16 17:34:37, ajuma wrote: ...
5 years, 8 months ago (2015-04-16 17:44:22 UTC) #7
jaydasika
5 years, 8 months ago (2015-04-16 18:05:04 UTC) #8
ajuma
lgtm with one more nit. Also, please wait for the linux_blink_rel bot to go green ...
5 years, 8 months ago (2015-04-16 18:10:08 UTC) #9
jaydasika
5 years, 8 months ago (2015-04-16 18:15:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096493002/40001
5 years, 8 months ago (2015-04-16 18:28:41 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-16 20:06:23 UTC) #14
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 20:07:23 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fc88422b95407da518cd9bc535d50196d2d77d41
Cr-Commit-Position: refs/heads/master@{#325503}

Powered by Google App Engine
This is Rietveld 408576698