| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index 72680157209485a84bfee4e8d82f500a9182b161..aa475b3ee6855dfe48e1491cb245877c656055ba 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -407,7 +407,7 @@ bool GrDrawTarget::checkDraw(GrPrimitiveType type, int startVertex,
|
| }
|
|
|
| bool GrDrawTarget::setupDstReadIfNecessary(DrawInfo* info) {
|
| - if (this->caps()->dstReadInShaderSupport() || !this->getDrawState().willEffectReadDst()) {
|
| + if (this->caps()->dstReadInShaderSupport() || !this->getDrawState().willEffectReadDstColor()) {
|
| return true;
|
| }
|
| GrRenderTarget* rt = this->drawState()->getRenderTarget();
|
| @@ -639,7 +639,7 @@ void GrDrawTarget::onDrawRect(const GrRect& rect,
|
| }
|
| }
|
| SkTLazy<SkRect> bounds;
|
| - if (this->getDrawState().willEffectReadDst()) {
|
| + if (this->getDrawState().willEffectReadDstColor()) {
|
| bounds.init();
|
| this->getDrawState().getViewMatrix().mapRect(bounds.get(), rect);
|
| }
|
|
|