Index: src/effects/SkGpuBlurUtils.cpp |
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp |
index 5690c2893f71e0ef4b777802d9d5e5fefb8332b4..0ebbfe45bede645e75bec1de4aea7022776084fb 100644 |
--- a/src/effects/SkGpuBlurUtils.cpp |
+++ b/src/effects/SkGpuBlurUtils.cpp |
@@ -58,7 +58,7 @@ static void convolve_gaussian_1d(GrDrawContext* drawContext, |
float bounds[2]) { |
GrPaint paint; |
SkAutoTUnref<GrFragmentProcessor> conv(GrConvolutionEffect::CreateGaussian( |
- paint.getProcessorDataManager(), texture, direction, radius, sigma, useBounds, bounds)); |
+ texture, direction, radius, sigma, useBounds, bounds)); |
paint.addColorFragmentProcessor(conv); |
drawContext->drawNonAARectToRect(rt, clip, paint, SkMatrix::I(), dstRect, srcRect); |
} |
@@ -79,7 +79,6 @@ static void convolve_gaussian_2d(GrDrawContext* drawContext, |
SkIPoint kernelOffset = SkIPoint::Make(radiusX, radiusY); |
GrPaint paint; |
SkAutoTUnref<GrFragmentProcessor> conv(GrMatrixConvolutionEffect::CreateGaussian( |
- paint.getProcessorDataManager(), |
texture, bounds, size, 1.0, 0.0, kernelOffset, |
useBounds ? GrTextureDomain::kClamp_Mode : GrTextureDomain::kIgnore_Mode, |
true, sigmaX, sigmaY)); |
@@ -209,8 +208,7 @@ GrTexture* GaussianBlur(GrContext* context, |
matrix.mapRect(&domain, rect); |
domain.inset(i < scaleFactorX ? SK_ScalarHalf / srcTexture->width() : 0.0f, |
i < scaleFactorY ? SK_ScalarHalf / srcTexture->height() : 0.0f); |
- SkAutoTUnref<GrFragmentProcessor> fp( GrTextureDomainEffect::Create( |
- paint.getProcessorDataManager(), |
+ SkAutoTUnref<GrFragmentProcessor> fp(GrTextureDomainEffect::Create( |
srcTexture, |
matrix, |
domain, |