commit | 3be2e10ce534a9bf8eb008d3704be26b2ba04437 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Tue Jul 10 10:20:36 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jul 10 15:07:04 2018 +0000 |
tree | 57a362b83d922631f3f0b04637235bcf6bd57e89 | |
parent | c100d48e4241ecc7be0fd7fd79eae13e13f255c0 [diff] |
[skottie] Ignore identity transforms Some tranform properties are not optional, but many of them are static identity. Detect these cases and don't attach SG nodes for them. Reduces the number of sksg::Matrix nodes by ~18%. TBR= Change-Id: Ia51c865d6928e8c48c73b30f6d45541caf334880 Reviewed-on: https://skia-review.googlesource.com/140186 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>