Index: src/gpu/effects/GrCoverageSetOpXP.cpp |
diff --git a/src/gpu/effects/GrCoverageSetOpXP.cpp b/src/gpu/effects/GrCoverageSetOpXP.cpp |
index 8c98c6c84324a01c64a6ddd106352c60168d1c99..7761a6445ac14f91c2fda6984a387cc916ec2a27 100644 |
--- a/src/gpu/effects/GrCoverageSetOpXP.cpp |
+++ b/src/gpu/effects/GrCoverageSetOpXP.cpp |
@@ -9,7 +9,6 @@ |
#include "effects/GrCoverageSetOpXP.h" |
#include "GrCaps.h" |
#include "GrColor.h" |
-#include "GrPipeline.h" |
#include "GrProcessor.h" |
#include "GrProcOptInfo.h" |
#include "glsl/GrGLSLBlend.h" |
@@ -152,6 +151,7 @@ class ShaderCSOXferProcessor : public GrXferProcessor { |
public: |
ShaderCSOXferProcessor(const DstTexture* dstTexture, |
bool hasMixedSamples, |
+ SkXfermode::Mode xfermode, |
SkRegion::Op regionOp, |
bool invertCoverage) |
: INHERITED(dstTexture, true, hasMixedSamples) |
@@ -323,9 +323,6 @@ GrCoverageSetOpXPFactory::onCreateXferProcessor(const GrCaps& caps, |
return nullptr; |
} |
- if (optimizations.fOverrides.fUsePLSDstRead) { |
- return new ShaderCSOXferProcessor(dst, hasMixedSamples, fRegionOp, fInvertCoverage); |
- } |
return CoverageSetOpXP::Create(fRegionOp, fInvertCoverage); |
} |