diff options
author | Florin Malita <fmalita@chromium.org> | 2017-06-29 11:03:45 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-29 15:34:47 +0000 |
commit | 9026fe13a751582e58e98f9bf735c18b4719d7fe (patch) | |
tree | 6c3f03fb9be33f18d1d686a10839e096ab030393 /src/core/SkMask.cpp | |
parent | 762466e9fe0478bcf11fba532998e81e33b3069e (diff) |
2pt conical stage for focal-point-outside case
A couple of annoyances here:
1) the prev vector_scale stage is not usable for masking, as NaN values can propagate through
=> switch to actual masking
2) for the outside case, we must select the min root when the gradient is flipped
=> split into two templated stages (_min, _max)
(I'm not convinced that we need to flip the gradient for RP at all; we can investigate later)
Change-Id: I0283812d613a53124f2987d1aea1f26e4533655e
Reviewed-on: https://skia-review.googlesource.com/21162
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/core/SkMask.cpp')
0 files changed, 0 insertions, 0 deletions