| Index: src/effects/SkGpuBlurUtils.cpp
|
| diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp
|
| index a58972aba12e01f5b4e1020afa38478d23c438f2..b22286b25f947096c8d6f242738b23b5a1ea777a 100644
|
| --- a/src/effects/SkGpuBlurUtils.cpp
|
| +++ b/src/effects/SkGpuBlurUtils.cpp
|
| @@ -58,7 +58,7 @@ static void convolve_gaussian_1d(GrContext* context,
|
| texture, direction, radius, sigma, useBounds, bounds));
|
| paint.reset();
|
| paint.addColorProcessor(conv);
|
| - context->drawRectToRect(paint, SkMatrix::I(), dstRect, srcRect);
|
| + context->drawNonAARectToRect(paint, SkMatrix::I(), dstRect, srcRect);
|
| }
|
|
|
| static void convolve_gaussian_2d(GrContext* context,
|
| @@ -81,7 +81,7 @@ static void convolve_gaussian_2d(GrContext* context,
|
| true, sigmaX, sigmaY));
|
| paint.reset();
|
| paint.addColorProcessor(conv);
|
| - context->drawRectToRect(paint, SkMatrix::I(), dstRect, srcRect);
|
| + context->drawNonAARectToRect(paint, SkMatrix::I(), dstRect, srcRect);
|
| }
|
|
|
| static void convolve_gaussian(GrContext* context,
|
| @@ -217,7 +217,7 @@ GrTexture* GaussianBlur(GrContext* context,
|
| }
|
| scale_rect(&dstRect, i < scaleFactorX ? 0.5f : 1.0f,
|
| i < scaleFactorY ? 0.5f : 1.0f);
|
| - context->drawRectToRect(paint, SkMatrix::I(), dstRect, srcRect);
|
| + context->drawNonAARectToRect(paint, SkMatrix::I(), dstRect, srcRect);
|
| srcRect = dstRect;
|
| srcTexture = dstTexture;
|
| SkTSwap(dstTexture, tempTexture);
|
| @@ -296,7 +296,7 @@ GrTexture* GaussianBlur(GrContext* context,
|
|
|
| SkRect dstRect(srcRect);
|
| scale_rect(&dstRect, (float) scaleFactorX, (float) scaleFactorY);
|
| - context->drawRectToRect(paint, SkMatrix::I(), dstRect, srcRect);
|
| + context->drawNonAARectToRect(paint, SkMatrix::I(), dstRect, srcRect);
|
| srcRect = dstRect;
|
| srcTexture = dstTexture;
|
| SkTSwap(dstTexture, tempTexture);
|
|
|