History log of /external/skia/gm/radial_gradient_precision.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fd35c742bff9c7e39f1b6deeb2171d04ca895f0a 15-May-2017 Mike Klein <mtklein@chromium.org> fix SkJumper radial gradient precision

rcp(rsqrt(x)) doesn't have enough precision when x is a coordinate.
(It's fine when x is a color, like in the softlight blend mode.)

Adds a GM to test this. It used to look quite ugly.

Change-Id: Icec295c2e2f50ae7a5e3e33c62270f632a58f65c
Reviewed-on: https://skia-review.googlesource.com/16914
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
/external/skia/gm/radial_gradient_precision.cpp