| Index: src/effects/SkXfermodeImageFilter.cpp
|
| diff --git a/src/effects/SkXfermodeImageFilter.cpp b/src/effects/SkXfermodeImageFilter.cpp
|
| index 14dde88379aa7dd8f990a79f1c85dbdb9192cb5c..19a905b445db78b2a7355f0ddcd4b4f8adfd39d7 100644
|
| --- a/src/effects/SkXfermodeImageFilter.cpp
|
| +++ b/src/effects/SkXfermodeImageFilter.cpp
|
| @@ -154,7 +154,6 @@ bool SkXfermodeImageFilter::filterImageGPU(Proxy* proxy,
|
| if (!dst) {
|
| return false;
|
| }
|
| - GrContext::AutoRenderTarget art(context, dst->asRenderTarget());
|
|
|
| if (!fMode || !fMode->asFragmentProcessor(&xferProcessor, backgroundTex)) {
|
| // canFilterImageGPU() should've taken care of this
|
| @@ -173,7 +172,7 @@ bool SkXfermodeImageFilter::filterImageGPU(Proxy* proxy,
|
| GrPaint paint;
|
| paint.addColorTextureProcessor(foregroundTex, foregroundMatrix);
|
| paint.addColorProcessor(xferProcessor)->unref();
|
| - context->drawRect(paint, SkMatrix::I(), srcRect);
|
| + context->drawRect(dst->asRenderTarget(), paint, SkMatrix::I(), srcRect);
|
|
|
| offset->fX = backgroundOffset.fX;
|
| offset->fY = backgroundOffset.fY;
|
|
|