diff options
author | 2016-07-21 07:15:37 -0700 | |
---|---|---|
committer | 2016-07-21 07:15:37 -0700 | |
commit | afbf71dd924c7bb46ccdac49e7408b4b088563ff (patch) | |
tree | f914dccf3130dc11f0003e1c744ebb9e942a4736 /src/effects/SkAlphaThresholdFilter.cpp | |
parent | 1b93bd1e6eba3d14593490e4e24a34546638c8da (diff) |
Adding color space to SkSpecialImage
Mostly means that GPU backed special images need to be supplied (and
store) a color space object.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2163343002
Review-Url: https://codereview.chromium.org/2163343002
Diffstat (limited to 'src/effects/SkAlphaThresholdFilter.cpp')
-rw-r--r-- | src/effects/SkAlphaThresholdFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp index b4848923ea..67ede53b43 100644 --- a/src/effects/SkAlphaThresholdFilter.cpp +++ b/src/effects/SkAlphaThresholdFilter.cpp @@ -180,7 +180,7 @@ sk_sp<SkSpecialImage> SkAlphaThresholdFilterImpl::onFilterImage(SkSpecialImage* return nullptr; } - return DrawWithFP(context, std::move(fp), bounds); + return DrawWithFP(context, std::move(fp), bounds, sk_ref_sp(input->getColorSpace())); } #endif |