diff options
author | 2015-02-03 15:02:43 -0800 | |
---|---|---|
committer | 2015-02-03 15:02:43 -0800 | |
commit | 74a11753604768bf461b80cabb66060e8564d82c (patch) | |
tree | a05ea0f59d44fe6b200505a69408fbd96406ca54 /src/gpu/GrPipelineBuilder.h | |
parent | bf015c34e4c36467dfef385893f375b68718450e (diff) |
Move DstCopy on gpu into the GrXferProcessor.
BUG=skia:
Review URL: https://codereview.chromium.org/885923002
Diffstat (limited to 'src/gpu/GrPipelineBuilder.h')
-rw-r--r-- | src/gpu/GrPipelineBuilder.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h index df9a1c85ee..5743c39dc5 100644 --- a/src/gpu/GrPipelineBuilder.h +++ b/src/gpu/GrPipelineBuilder.h @@ -102,10 +102,9 @@ public: 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. |