| Index: src/effects/SkGpuBlurUtils.cpp
|
| diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp
|
| index 7c239a1bc34333a9307eec2a7bf4d620129ce7e2..2b6b310819eb0110eb9c230f66c0d19a298f006e 100644
|
| --- a/src/effects/SkGpuBlurUtils.cpp
|
| +++ b/src/effects/SkGpuBlurUtils.cpp
|
| @@ -59,7 +59,7 @@ static void convolve_gaussian_1d(GrDrawContext* drawContext,
|
| GrPaint paint;
|
| SkAutoTUnref<GrFragmentProcessor> conv(GrConvolutionEffect::CreateGaussian(
|
| paint.getProcessorDataManager(), texture, direction, radius, sigma, useBounds, bounds));
|
| - paint.addColorProcessor(conv);
|
| + paint.addColorFragmentProcessor(conv);
|
| drawContext->drawNonAARectToRect(rt, clip, paint, SkMatrix::I(), dstRect, srcRect);
|
| }
|
|
|
| @@ -83,7 +83,7 @@ static void convolve_gaussian_2d(GrDrawContext* drawContext,
|
| texture, bounds, size, 1.0, 0.0, kernelOffset,
|
| useBounds ? GrTextureDomain::kClamp_Mode : GrTextureDomain::kIgnore_Mode,
|
| true, sigmaX, sigmaY));
|
| - paint.addColorProcessor(conv);
|
| + paint.addColorFragmentProcessor(conv);
|
| drawContext->drawNonAARectToRect(rt, clip, paint, SkMatrix::I(), dstRect, srcRect);
|
| }
|
|
|
| @@ -216,7 +216,7 @@ GrTexture* GaussianBlur(GrContext* context,
|
| domain,
|
| GrTextureDomain::kDecal_Mode,
|
| GrTextureParams::kBilerp_FilterMode));
|
| - paint.addColorProcessor(fp);
|
| + paint.addColorFragmentProcessor(fp);
|
| } else {
|
| GrTextureParams params(SkShader::kClamp_TileMode, GrTextureParams::kBilerp_FilterMode);
|
| paint.addColorTextureProcessor(srcTexture, matrix, params);
|
|
|