Index: src/gpu/effects/GrCoverageSetOpXP.cpp |
diff --git a/src/gpu/effects/GrCoverageSetOpXP.cpp b/src/gpu/effects/GrCoverageSetOpXP.cpp |
index a5e9b2fc745da773475f7b5c1381a80d28ce70f0..908ddd6f887a26eeb42d30d614d81e8b60b22ec3 100644 |
--- a/src/gpu/effects/GrCoverageSetOpXP.cpp |
+++ b/src/gpu/effects/GrCoverageSetOpXP.cpp |
@@ -35,8 +35,6 @@ public: |
GrColor* color, |
const GrDrawTargetCaps& caps) override; |
- void getBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override; |
- |
bool invertCoverage() const { return fInvertCoverage; } |
private: |
@@ -44,6 +42,8 @@ private: |
void onGetGLProcessorKey(const GrGLCaps& caps, GrProcessorKeyBuilder* b) const override; |
+ void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override; |
+ |
bool onIsEqual(const GrXferProcessor& xpBase) const override { |
const CoverageSetOpXP& xp = xpBase.cast<CoverageSetOpXP>(); |
return (fRegionOp == xp.fRegionOp && |
@@ -117,7 +117,7 @@ CoverageSetOpXP::getOptimizations(const GrProcOptInfo& colorPOI, |
return GrXferProcessor::kIgnoreColor_OptFlag; |
} |
-void CoverageSetOpXP::getBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { |
+void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { |
switch (fRegionOp) { |
case SkRegion::kReplace_Op: |
blendInfo->fSrcBlend = kOne_GrBlendCoeff; |