diff options
Diffstat (limited to 'src/gpu/ops/GrOvalOpFactory.cpp')
-rw-r--r-- | src/gpu/ops/GrOvalOpFactory.cpp | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/src/gpu/ops/GrOvalOpFactory.cpp b/src/gpu/ops/GrOvalOpFactory.cpp index 5580e52475..5b30c4a191 100644 --- a/src/gpu/ops/GrOvalOpFactory.cpp +++ b/src/gpu/ops/GrOvalOpFactory.cpp @@ -804,10 +804,11 @@ public: return string; } - RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip) override { + RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip, + GrPixelConfigIsClamped dstIsClamped) override { GrColor* color = &fCircles.front().fColor; - return fHelper.xpRequiresDstTexture(caps, clip, GrProcessorAnalysisCoverage::kSingleChannel, - color); + return fHelper.xpRequiresDstTexture(caps, clip, dstIsClamped, + GrProcessorAnalysisCoverage::kSingleChannel, color); } FixedFunctionFlags fixedFunctionFlags() const override { return fHelper.fixedFunctionFlags(); } @@ -1272,10 +1273,11 @@ public: return string; } - RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip) override { + RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip, + GrPixelConfigIsClamped dstIsClamped) override { GrColor* color = &fEllipses.front().fColor; - return fHelper.xpRequiresDstTexture(caps, clip, GrProcessorAnalysisCoverage::kSingleChannel, - color); + return fHelper.xpRequiresDstTexture(caps, clip, dstIsClamped, + GrProcessorAnalysisCoverage::kSingleChannel, color); } FixedFunctionFlags fixedFunctionFlags() const override { return fHelper.fixedFunctionFlags(); } @@ -1502,10 +1504,11 @@ public: return string; } - RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip) override { + RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip, + GrPixelConfigIsClamped dstIsClamped) override { GrColor* color = &fEllipses.front().fColor; - return fHelper.xpRequiresDstTexture(caps, clip, GrProcessorAnalysisCoverage::kSingleChannel, - color); + return fHelper.xpRequiresDstTexture(caps, clip, dstIsClamped, + GrProcessorAnalysisCoverage::kSingleChannel, color); } FixedFunctionFlags fixedFunctionFlags() const override { return fHelper.fixedFunctionFlags(); } @@ -1819,10 +1822,11 @@ public: return string; } - RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip) override { + RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip, + GrPixelConfigIsClamped dstIsClamped) override { GrColor* color = &fRRects.front().fColor; - return fHelper.xpRequiresDstTexture(caps, clip, GrProcessorAnalysisCoverage::kSingleChannel, - color); + return fHelper.xpRequiresDstTexture(caps, clip, dstIsClamped, + GrProcessorAnalysisCoverage::kSingleChannel, color); } FixedFunctionFlags fixedFunctionFlags() const override { return fHelper.fixedFunctionFlags(); } @@ -2177,10 +2181,11 @@ public: return string; } - RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip) override { + RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip, + GrPixelConfigIsClamped dstIsClamped) override { GrColor* color = &fRRects.front().fColor; - return fHelper.xpRequiresDstTexture(caps, clip, GrProcessorAnalysisCoverage::kSingleChannel, - color); + return fHelper.xpRequiresDstTexture(caps, clip, dstIsClamped, + GrProcessorAnalysisCoverage::kSingleChannel, color); } FixedFunctionFlags fixedFunctionFlags() const override { return fHelper.fixedFunctionFlags(); } |