Index: src/effects/SkArithmeticMode_gpu.h |
diff --git a/src/effects/SkArithmeticMode_gpu.h b/src/effects/SkArithmeticMode_gpu.h |
index 4810baed4afbbf9751f3d64bcd28a8ee3179faf0..16657ebd8c6c72becaef221af25331443646be00 100644 |
--- a/src/effects/SkArithmeticMode_gpu.h |
+++ b/src/effects/SkArithmeticMode_gpu.h |
@@ -32,8 +32,8 @@ class GrGLArtithmeticFP; |
class GrArithmeticFP : public GrFragmentProcessor { |
public: |
static const GrFragmentProcessor* Create(float k1, float k2, float k3, float k4, |
- bool enforcePMColor, const GrFragmentProcessor* dst) { |
- return new GrArithmeticFP(k1, k2, k3, k4, enforcePMColor, dst); |
+ bool enforcePMColor, const GrFragmentProcessor* dst, GrRenderTarget* dstRT) { |
+ return new GrArithmeticFP(k1, k2, k3, k4, enforcePMColor, dst, dstRT); |
} |
~GrArithmeticFP() override {}; |
@@ -55,8 +55,8 @@ private: |
void onComputeInvariantOutput(GrInvariantOutput* inout) const override; |
- GrArithmeticFP(float k1, float k2, float k3, float k4, bool enforcePMColor, |
- const GrFragmentProcessor* dst); |
+ GrArithmeticFP(float k1, float k2, float k3, float k4, |
+ bool enforcePMColor, const GrFragmentProcessor* dst, GrRenderTarget* dstRT); |
float fK1, fK2, fK3, fK4; |
bool fEnforcePMColor; |
@@ -89,7 +89,7 @@ private: |
const GrProcOptInfo& colorPOI, |
const GrProcOptInfo& coveragePOI, |
bool hasMixedSamples, |
- const DstTexture*) const override; |
+ const DstTexture*, GrRenderTarget* dst) const override; |
bool willReadDstColor(const GrCaps& caps, |
const GrProcOptInfo& colorPOI, |