diff options
author | 2016-03-10 11:18:43 -0800 | |
---|---|---|
committer | 2016-03-10 11:18:43 -0800 | |
commit | 7e6fcf890a1a63249136b8e6d9f4d5a606ef7508 (patch) | |
tree | dc4b9e08269bebde9d74701abbbfbe9f81dd2cdf /src/core/SkPathMeasure.cpp | |
parent | d7dc76f7e99309cbd09a5420c22e55b951067deb (diff) |
Generic 4f gradient T sampler fallback
Add a generic T sampler fallback impl which uses T series produced by
subclasses mapTs() overrides. The fallback path uses the same interval
structures as the current optimized linear4f impl, but always sorted
in stop order (never inverted to match dx/increasing x order).
Enable the new mechanism for 4f linear w/ perspective.
Other boring changes:
* relocate the interval builder (back) to the base class
* add a private header for shared templates
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1783823002
Review URL: https://codereview.chromium.org/1783823002
Diffstat (limited to 'src/core/SkPathMeasure.cpp')
0 files changed, 0 insertions, 0 deletions