aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPipelineBuilder.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-02-03 15:02:43 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-03 15:02:43 -0800
commit74a11753604768bf461b80cabb66060e8564d82c (patch)
treea05ea0f59d44fe6b200505a69408fbd96406ca54 /src/gpu/GrPipelineBuilder.h
parentbf015c34e4c36467dfef385893f375b68718450e (diff)
Move DstCopy on gpu into the GrXferProcessor.
Diffstat (limited to 'src/gpu/GrPipelineBuilder.h')
-rw-r--r--src/gpu/GrPipelineBuilder.h5
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.