Fix cubic KLM solving
authorcsmartdalton <csmartdalton@google.com>
Mon, 10 Apr 2017 17:58:17 +0000 (11:58 -0600)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 12 Apr 2017 19:36:40 +0000 (19:36 +0000)
commit0f47a25cac5ceaa172f4db1cc50c36868527ff84
treefe0fe7e4e9e0da1209a357f9ff6b2e43e08bb8e6
parent5bc818173add1bd1998e4a87a58dca80a654757a
Fix cubic KLM solving

Fixes calc_inverse_transpose_power_basis_matrix() to look for the
determinant with the largest ABSOLUTE VALUE.

BUG=skia:

Change-Id: I70e26cc7ab9955d2e094fb7581f0ec9f5e0ae2d9
Reviewed-on: https://skia-review.googlesource.com/13081
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
src/gpu/GrPathUtils.cpp