From 2d70bcccc9ba8f3898a7ae506ba7410ed8e9c9db Mon Sep 17 00:00:00 2001 From: robertphillips Date: Wed, 30 Sep 2015 12:28:06 -0700 Subject: [PATCH] Have GrRectBlurEffect use Linear filtering (rather than Nearest Neighbor) Review URL: https://codereview.chromium.org/1378023004 --- src/effects/SkBlurMaskFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp index 58242b7017..8908fa9111 100644 --- a/src/effects/SkBlurMaskFilter.cpp +++ b/src/effects/SkBlurMaskFilter.cpp @@ -769,7 +769,7 @@ GrTexture* GrRectBlurEffect::CreateBlurProfileTexture(GrTextureProvider* texture GrRectBlurEffect::GrRectBlurEffect(const SkRect& rect, float sigma, GrTexture *blurProfile) : fRect(rect) , fSigma(sigma) - , fBlurProfileAccess(blurProfile) { + , fBlurProfileAccess(blurProfile, GrTextureParams::kBilerp_FilterMode) { this->initClassID(); this->addTextureAccess(&fBlurProfileAccess); this->setWillReadFragmentPosition();