Have GrRectBlurEffect use Linear filtering (rather than Nearest Neighbor)

Review URL: https://codereview.chromium.org/1378023004
This commit is contained in:
robertphillips 2015-09-30 12:28:06 -07:00 committed by Commit bot
parent 8b17dcb72c
commit 2d70bcccc9

View File

@ -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<GrRectBlurEffect>();
this->addTextureAccess(&fBlurProfileAccess);
this->setWillReadFragmentPosition();