diff options
author | 2015-02-04 06:25:28 -0800 | |
---|---|---|
committer | 2015-02-04 06:25:28 -0800 | |
commit | 4dce32c46675efb901618161771d450241af4307 (patch) | |
tree | f00c93110fbeda3d399105c40cee3fe6745e0c72 /src/gpu/GrPipelineBuilder.cpp | |
parent | 7adb35559430303a25be37f21af56c0df6c62f2b (diff) |
Revert "Move DstCopy on gpu into the GrXferProcessor."
This reverts commit 74a11753604768bf461b80cabb66060e8564d82c.
TBR=joshualitt@google.com,bsalomon@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/3e9dfdb3784c0cbfecf7589a74aa9aff7ef40abd
Review URL: https://codereview.chromium.org/896163003
Diffstat (limited to 'src/gpu/GrPipelineBuilder.cpp')
-rw-r--r-- | src/gpu/GrPipelineBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrPipelineBuilder.cpp b/src/gpu/GrPipelineBuilder.cpp index 54d357fd23..90aee748c9 100644 --- a/src/gpu/GrPipelineBuilder.cpp +++ b/src/gpu/GrPipelineBuilder.cpp @@ -101,8 +101,8 @@ bool GrPipelineBuilder::canUseFracCoveragePrimProc(GrColor color, //////////////////////////////////////////////////////////////////////////////s -bool GrPipelineBuilder::willXPNeedDstCopy(const GrDrawTargetCaps& caps) const { - return this->getXPFactory()->willNeedDstCopy(caps); +bool GrPipelineBuilder::willEffectReadDstColor() const { + return this->getXPFactory()->willReadDst(); } void GrPipelineBuilder::AutoRestoreEffects::set(GrPipelineBuilder* pipelineBuilder) { |