Index: src/gpu/GrYUVProvider.cpp |
diff --git a/src/gpu/GrYUVProvider.cpp b/src/gpu/GrYUVProvider.cpp |
index 93859483ad47ce0e7949021bfc35ed30ae55cc03..014c30574a422e7f03b04ca2fb1007f55cfe3a17 100644 |
--- a/src/gpu/GrYUVProvider.cpp |
+++ b/src/gpu/GrYUVProvider.cpp |
@@ -128,6 +128,7 @@ GrTexture* GrYUVProvider::refAsTexture(GrContext* ctx, const GrSurfaceDesc& desc |
yuvInfo.fSize, |
yuvInfo.fColorSpace)); |
paint.addColorFragmentProcessor(yuvToRgbProcessor); |
+ paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
const SkRect r = SkRect::MakeIWH(yuvInfo.fSize[0].fWidth, yuvInfo.fSize[0].fHeight); |
SkAutoTUnref<GrDrawContext> drawContext(ctx->drawContext(renderTarget)); |