| Index: src/effects/SkAlphaThresholdFilter.cpp
|
| diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp
|
| index 8908a6a9f5fd4328850733376c218a479fcc1d66..04504b5f8ba3715c9b7b906998eda0f4ebe2ff61 100644
|
| --- a/src/effects/SkAlphaThresholdFilter.cpp
|
| +++ b/src/effects/SkAlphaThresholdFilter.cpp
|
| @@ -48,6 +48,7 @@ SkImageFilter* SkAlphaThresholdFilter::Create(const SkRegion& region,
|
| #include "GrFragmentProcessor.h"
|
| #include "GrInvariantOutput.h"
|
| #include "GrTextureAccess.h"
|
| +#include "effects/GrPorterDuffXferProcessor.h"
|
|
|
| #include "SkGr.h"
|
|
|
| @@ -283,7 +284,7 @@ bool SkAlphaThresholdFilterImpl::asFragmentProcessor(GrFragmentProcessor** fp,
|
| {
|
| GrContext::AutoRenderTarget art(context, maskTexture->asRenderTarget());
|
| GrPaint grPaint;
|
| - grPaint.setBlendFunc(kOne_GrBlendCoeff, kZero_GrBlendCoeff);
|
| + grPaint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode);
|
| SkRegion::Iterator iter(fRegion);
|
| context->clear(NULL, 0x0, true, maskTexture->asRenderTarget());
|
|
|
|
|