| Index: src/gpu/GrXferProcessor.cpp
|
| diff --git a/src/gpu/GrXferProcessor.cpp b/src/gpu/GrXferProcessor.cpp
|
| index 358a24906092cb6bf6d034b474be27694d23364d..321dcfd5e83eac606f994c62fbd31bf789cd4dd7 100644
|
| --- a/src/gpu/GrXferProcessor.cpp
|
| +++ b/src/gpu/GrXferProcessor.cpp
|
| @@ -38,7 +38,7 @@
|
| const GrDeviceCoordTexture* dstCopy,
|
| const GrDrawTargetCaps& caps) const {
|
| #ifdef SK_DEBUG
|
| - if (this->willReadDstColor(caps, colorPOI, coveragePOI)) {
|
| + if (this->willReadDstColor(colorPOI, coveragePOI)) {
|
| if (!caps.dstReadInShaderSupport()) {
|
| SkASSERT(dstCopy && dstCopy->texture());
|
| } else {
|
| @@ -46,13 +46,14 @@
|
| }
|
| } else {
|
| SkASSERT(!dstCopy || !dstCopy->texture());
|
| +
|
| }
|
| #endif
|
| - return this->onCreateXferProcessor(caps, colorPOI, coveragePOI, dstCopy);
|
| + return this->onCreateXferProcessor(colorPOI, coveragePOI, dstCopy);
|
| }
|
|
|
| bool GrXPFactory::willNeedDstCopy(const GrDrawTargetCaps& caps, const GrProcOptInfo& colorPOI,
|
| const GrProcOptInfo& coveragePOI) const {
|
| - return (this->willReadDstColor(caps, colorPOI, coveragePOI) && !caps.dstReadInShaderSupport());
|
| + return (this->willReadDstColor(colorPOI, coveragePOI) && !caps.dstReadInShaderSupport());
|
| }
|
|
|
|
|