aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/radial_gradient_precision.cpp
Commit message (Collapse)AuthorAge
* fix SkJumper radial gradient precisionGravatar Mike Klein2017-05-15
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>