Index: gm/beziereffects.cpp |
diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp |
index 58d7fef3d3c290a3698f72112cd089cfc6202195..ba163a3840f77145033512b8948b74b7fd43f433 100644 |
--- a/gm/beziereffects.cpp |
+++ b/gm/beziereffects.cpp |
@@ -221,6 +221,8 @@ protected: |
SkASSERT(tt.target()); |
GrPipelineBuilder pipelineBuilder; |
+ pipelineBuilder.setXPFactory( |
+ GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode))->unref(); |
pipelineBuilder.setRenderTarget(rt); |
BezierCubicOrConicTestBatch::Geometry geometry; |
@@ -366,6 +368,8 @@ protected: |
SkASSERT(tt.target()); |
GrPipelineBuilder pipelineBuilder; |
+ pipelineBuilder.setXPFactory( |
+ GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode))->unref(); |
pipelineBuilder.setRenderTarget(rt); |
BezierCubicOrConicTestBatch::Geometry geometry; |
@@ -604,6 +608,8 @@ protected: |
SkASSERT(tt.target()); |
GrPipelineBuilder pipelineBuilder; |
+ pipelineBuilder.setXPFactory( |
+ GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode))->unref(); |
pipelineBuilder.setRenderTarget(rt); |
GrPathUtils::QuadUVMatrix DevToUV(pts); |