Index: include/gpu/GrXferProcessor.h |
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h |
index 03d52a93d748f776b6733df8dc1d0a2e2fdb3467..f7487975e53906bdbdd5afa692a44e3b728b992a 100644 |
--- a/include/gpu/GrXferProcessor.h |
+++ b/include/gpu/GrXferProcessor.h |
@@ -233,7 +233,8 @@ public: |
*/ |
virtual bool canTweakAlphaForCoverage() const = 0; |
- bool willNeedDstCopy(const GrDrawTargetCaps& caps) const; |
+ bool willNeedDstCopy(const GrDrawTargetCaps& caps, const GrProcOptInfo& colorPOI, |
+ const GrProcOptInfo& coveragePOI) const; |
bool isEqual(const GrXPFactory& that) const { |
if (this->classID() != that.classID()) { |
@@ -267,7 +268,8 @@ private: |
* Returns true if the XP generated by this factory will explicitly read dst in the fragment |
* shader. |
*/ |
- virtual bool willReadDstColor() const = 0; |
+ virtual bool willReadDstColor(const GrProcOptInfo& colorPOI, |
+ const GrProcOptInfo& coveragePOI) const = 0; |
virtual bool onIsEqual(const GrXPFactory&) const = 0; |