aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2016-03-10 11:18:43 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-10 11:18:43 -0800
commit7e6fcf890a1a63249136b8e6d9f4d5a606ef7508 (patch)
treedc4b9e08269bebde9d74701abbbfbe9f81dd2cdf /gyp
parentd7dc76f7e99309cbd09a5420c22e55b951067deb (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 'gyp')
-rw-r--r--gyp/effects.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/effects.gypi b/gyp/effects.gypi
index 1c6b29eedd..cfbae453e2 100644
--- a/gyp/effects.gypi
+++ b/gyp/effects.gypi
@@ -68,6 +68,7 @@
'<(skia_src_path)/effects/gradients/Sk4fGradientBase.cpp',
'<(skia_src_path)/effects/gradients/Sk4fGradientBase.h',
+ '<(skia_src_path)/effects/gradients/Sk4fGradientPriv.h',
'<(skia_src_path)/effects/gradients/Sk4fLinearGradient.cpp',
'<(skia_src_path)/effects/gradients/Sk4fLinearGradient.h',
'<(skia_src_path)/effects/gradients/SkClampRange.cpp',