Move DstCopy on gpu into the GrXferProcessor.
BUG=skia:
Review URL: https://codereview.chromium.org/885923002
diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h
index df9a1c8..5743c39 100644
--- a/src/gpu/GrPipelineBuilder.h
+++ b/src/gpu/GrPipelineBuilder.h
@@ -102,10 +102,9 @@
const GrFragmentStage& getCoverageStage(int idx) const { return fCoverageStages[idx]; }
/**
- * Checks whether the xp will read the dst pixel color.
- * TODO: remove when we have dstCpy contained inside of GrXP
+ * Checks whether the xp will need a copy of the destination to correctly blend.
*/
- bool willEffectReadDstColor() const;
+ bool willXPNeedDstCopy(const GrDrawTargetCaps& caps) const;
/**
* The xfer processor factory.