Index: include/gpu/effects/GrPorterDuffXferProcessor.h |
diff --git a/include/gpu/effects/GrPorterDuffXferProcessor.h b/include/gpu/effects/GrPorterDuffXferProcessor.h |
index 0d3b01ff4d4d9184ab46f80669d24198924e2e19..2bfcff28420f5af39e9789a8b3b80711f07a5a1d 100644 |
--- a/include/gpu/effects/GrPorterDuffXferProcessor.h |
+++ b/include/gpu/effects/GrPorterDuffXferProcessor.h |
@@ -20,8 +20,10 @@ public: |
bool supportsRGBCoverage(GrColor knownColor, uint32_t knownColorFlags) const SK_OVERRIDE; |
- bool canApplyCoverage(const GrProcOptInfo& colorPOI, |
- const GrProcOptInfo& coveragePOI) const SK_OVERRIDE; |
+ bool canApplyCoverage(const GrProcOptInfo& /*colorPOI*/, |
+ const GrProcOptInfo& /*coveragePOI*/) const SK_OVERRIDE { |
+ return true; |
+ } |
bool canTweakAlphaForCoverage() const SK_OVERRIDE; |
@@ -31,11 +33,13 @@ public: |
private: |
GrPorterDuffXPFactory(GrBlendCoeff src, GrBlendCoeff dst); |
- GrXferProcessor* onCreateXferProcessor(const GrProcOptInfo& colorPOI, |
+ GrXferProcessor* onCreateXferProcessor(const GrDrawTargetCaps& caps, |
+ const GrProcOptInfo& colorPOI, |
const GrProcOptInfo& coveragePOI, |
const GrDeviceCoordTexture* dstCopy) const SK_OVERRIDE; |
- bool willReadDstColor(const GrProcOptInfo& colorPOI, |
+ bool willReadDstColor(const GrDrawTargetCaps& caps, |
+ const GrProcOptInfo& colorPOI, |
const GrProcOptInfo& coveragePOI) const SK_OVERRIDE; |
bool onIsEqual(const GrXPFactory& xpfBase) const SK_OVERRIDE { |