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

Issue 2885233002: cc : Create effect nodes for non axis aligned clips (Closed)

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

Description

cc : Create effect nodes for non axis aligned clips We currently create effect node (and render surface) if there is a clip and the transform to the previous render target is not axis aligned. But, when we stop deciding whether to create a render surface during property tree building, we won't know if the transform to the previous render surface is axis aligned. With this CL, we create effect nodes if thre is a non axis aligned transform between clips. Transform to previous render surface might be axis aligned even if there is some ancestor between the clips that has a non axis aligned transform. This implies, we might create an unnecessary effect node in that case. BUG=723036 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2885233002 Cr-Commit-Position: refs/heads/master@{#474161} Committed: https://chromium.googlesource.com/chromium/src/+/fbc951ded1697aef6fb274375740d89e66953d18

Patch Set 1 #

Patch Set 2 : comment #

Total comments: 4

Patch Set 3 : rebase #

Patch Set 4 : comments #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -0 lines) Patch
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 4 5 4 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
jaydasika
Since non axis aligned transforms are rare(?), I think this is fine. Let me know ...
3 years, 7 months ago (2017-05-16 21:57:01 UTC) #5
chrishtr
Would it work to only allocate an effect node if the current effect node is ...
3 years, 7 months ago (2017-05-16 22:08:16 UTC) #6
jaydasika
On 2017/05/16 22:08:16, chrishtr wrote: > Would it work to only allocate an effect node ...
3 years, 7 months ago (2017-05-16 23:14:43 UTC) #8
chrishtr
Also, needs a test. https://codereview.chromium.org/2885233002/diff/20001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/2885233002/diff/20001/cc/trees/property_tree_builder.cc#newcode899 cc/trees/property_tree_builder.cc:899: !Transform(layer).Preserves2dAxisAlignment(); What about transforms that ...
3 years, 7 months ago (2017-05-16 23:36:43 UTC) #9
jaydasika
Will add a test https://codereview.chromium.org/2885233002/diff/20001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/2885233002/diff/20001/cc/trees/property_tree_builder.cc#newcode899 cc/trees/property_tree_builder.cc:899: !Transform(layer).Preserves2dAxisAlignment(); On 2017/05/16 23:36:42, chrishtr ...
3 years, 7 months ago (2017-05-16 23:46:28 UTC) #10
chrishtr
https://codereview.chromium.org/2885233002/diff/20001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/2885233002/diff/20001/cc/trees/property_tree_builder.cc#newcode899 cc/trees/property_tree_builder.cc:899: !Transform(layer).Preserves2dAxisAlignment(); On 2017/05/16 at 23:46:28, jaydasika wrote: > On ...
3 years, 7 months ago (2017-05-17 00:44:49 UTC) #11
jaydasika
Added a test https://codereview.chromium.org/2885233002/diff/20001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/2885233002/diff/20001/cc/trees/property_tree_builder.cc#newcode899 cc/trees/property_tree_builder.cc:899: !Transform(layer).Preserves2dAxisAlignment(); On 2017/05/17 00:44:49, chrishtr wrote: ...
3 years, 7 months ago (2017-05-17 21:20:46 UTC) #12
jaydasika
enne / weiliangc : Since chrishtr@ is OOO, can one of you takeover this review ...
3 years, 7 months ago (2017-05-19 19:40:55 UTC) #14
enne (OOO)
I think this looks reasonable to me and fits in with the rest of the ...
3 years, 7 months ago (2017-05-22 17:01:38 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/2885233002/80001
3 years, 7 months ago (2017-05-23 00:29:05 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/390451)
3 years, 7 months ago (2017-05-23 01:23:32 UTC) #20
jaydasika
The failing tests should be fixed with https://codereview.chromium.org/2900153002/
3 years, 7 months ago (2017-05-23 18:54:49 UTC) #21
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/2885233002/100001
3 years, 7 months ago (2017-05-24 00:50:04 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 04:23:44 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/fbc951ded1697aef6fb274375740...

Powered by Google App Engine
This is Rietveld 408576698