commit | ea905ec3337a7e5482eabba52ae0e95321c7914c | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Fri Nov 30 14:05:58 2018 -0500 |
committer | Kevin Lubick <kjlubick@google.com> | Fri Nov 30 19:29:25 2018 +0000 |
tree | 6e7e7c44c0e8cd65c53bca011ae7a746ba83b33c | |
parent | 577aa0fbaf67f81cd0004fa3186721cb2b60c85a [diff] |
[canvaskit] Save a copy on CPU backend by using RasterDirect Draw directly into an unpremul buffer (which is what Canvas's get/putImageData is) and it speeds up Skottie animation by about 3x. Bug: skia: Change-Id: Ie131276e3a675e0e5a35190da93f34d7469624e4 Reviewed-on: https://skia-review.googlesource.com/c/173644 Reviewed-by: Mike Klein <mtklein@google.com>