diff options
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkBlurMaskFilter.cpp | 4 | ||||
-rw-r--r-- | src/effects/SkGpuBlurUtils.cpp | 8 | ||||
-rw-r--r-- | src/effects/SkMorphologyImageFilter.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp index d880d28304..b849c74805 100644 --- a/src/effects/SkBlurMaskFilter.cpp +++ b/src/effects/SkBlurMaskFilter.cpp @@ -650,7 +650,7 @@ private: virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE; static bool CreateBlurProfileTexture(GrContext *context, float sigma, - GrTexture **blurProfileTexture); + GrTexture **blurProfileTexture); SkRect fRect; float fSigma; @@ -753,7 +753,7 @@ void GrGLRectBlurEffect::setData(const GrGLProgramDataManager& pdman, } bool GrRectBlurEffect::CreateBlurProfileTexture(GrContext *context, float sigma, - GrTexture **blurProfileTexture) { + GrTexture **blurProfileTexture) { GrTextureParams params; GrSurfaceDesc texDesc; diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp index a58972aba1..b22286b25f 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); diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp index b8853c7356..d533448fe0 100644 --- a/src/effects/SkMorphologyImageFilter.cpp +++ b/src/effects/SkMorphologyImageFilter.cpp @@ -482,7 +482,7 @@ void apply_morphology_pass(GrContext* context, direction, radius, morphType))->unref(); - context->drawRectToRect(paint, SkMatrix::I(), SkRect::Make(dstRect), + context->drawNonAARectToRect(paint, SkMatrix::I(), SkRect::Make(dstRect), SkRect::Make(srcRect)); } |