Index: src/gpu/GrXferProcessor.cpp |
diff --git a/src/gpu/GrXferProcessor.cpp b/src/gpu/GrXferProcessor.cpp |
index b07b9720df69e6677fad14b27286bab90fc419b3..01534a3adb3384b4f301decb84f53654f37a1511 100644 |
--- a/src/gpu/GrXferProcessor.cpp |
+++ b/src/gpu/GrXferProcessor.cpp |
@@ -217,3 +217,10 @@ bool GrXPFactory::willNeedDstTexture(const GrCaps& caps, |
return (this->willReadDstColor(caps, optimizations, hasMixedSamples) && |
!caps.shaderCaps()->dstReadInShaderSupport()); |
} |
+ |
+bool GrXPFactory::willReadDstColor(const GrCaps& caps, |
+ const GrPipelineOptimizations& optimizations, |
+ bool hasMixedSamples) const { |
+ return optimizations.fOverrides.fUsePLSDstRead || this->onWillReadDstColor(caps, optimizations, |
+ hasMixedSamples); |
+} |