Index: include/gpu/GrXferProcessor.h |
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h |
index fdb27a9a7e26810ebfe49b3e3e140f833421c9f8..ba1a550d7f79cf9abe1daa46a3ec0d5978365858 100644 |
--- a/include/gpu/GrXferProcessor.h |
+++ b/include/gpu/GrXferProcessor.h |
@@ -239,8 +239,8 @@ public: |
} |
protected: |
- GrXferProcessor(); |
- GrXferProcessor(const DstTexture*, bool willReadDstColor, bool hasMixedSamples); |
+ GrXferProcessor(GrRenderTarget* dst); |
+ GrXferProcessor(const DstTexture*, bool willReadDstColor, bool hasMixedSamples, GrRenderTarget* dst); |
private: |
void notifyRefCntIsZero() const final {} |
@@ -314,7 +314,7 @@ public: |
const GrProcOptInfo& coveragePOI, |
bool hasMixedSamples, |
const DstTexture*, |
- const GrCaps& caps) const; |
+ const GrCaps& caps, GrRenderTarget* dst) const; |
/** |
* This function returns true if the GrXferProcessor generated from this factory will be able to |
@@ -373,7 +373,7 @@ private: |
const GrProcOptInfo& colorPOI, |
const GrProcOptInfo& coveragePOI, |
bool hasMixedSamples, |
- const DstTexture*) const = 0; |
+ const DstTexture*, GrRenderTarget* dst) const = 0; |
/** |
* Returns true if the XP generated by this factory will explicitly read dst in the fragment |
* shader. |