diff options
Diffstat (limited to 'src/gpu/ops/GrDrawPathOp.h')
-rw-r--r-- | src/gpu/ops/GrDrawPathOp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/ops/GrDrawPathOp.h b/src/gpu/ops/GrDrawPathOp.h index b1ce2dfe5a..5650b888ba 100644 --- a/src/gpu/ops/GrDrawPathOp.h +++ b/src/gpu/ops/GrDrawPathOp.h @@ -29,8 +29,7 @@ protected: return FixedFunctionFlags::kUsesHWAA | FixedFunctionFlags::kUsesStencil; } bool xpRequiresDstTexture(const GrCaps& caps, const GrAppliedClip* clip) override { - return GrXPFactory::WillNeedDstTexture(fProcessorSet.xpFactory(), caps, - this->doFragmentProcessorAnalysis(caps, clip)); + return this->doFragmentProcessorAnalysis(caps, clip).requiresDstTexture(); } void wasRecorded() override { fProcessorSet.makePendingExecution(); } |