commit | 453888f1c37e07e30f0179d5770f29e621262de5 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Thu Jun 15 15:41:42 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jun 15 21:37:51 2017 +0000 |
tree | fb62ef383b5ead0f27404785e254400ea4f6c9c0 | |
parent | 2bd381bffd36cdcffacf606d952547ce66fed7e9 [diff] |
Improve computeMatrices singular matrix handling. The existing singular matrix detection in computeMatrices is sufficient but not necessary. Since compute matrices is already doing a QR decomposition, use that to determine singularity instead. This is both faster and more accurate than the previous method for the common case. BUG=https://bugzilla.mozilla.org/show_bug.cgi?id=1305085 Change-Id: Iccef8368527b45e4eb565eddbebbbcf41ca66a2c Reviewed-on: https://skia-review.googlesource.com/20054 Reviewed-by: Lee Salzman <lsalzman@mozilla.com> Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>