diff options
author | 2017-06-16 10:04:34 -0400 | |
---|---|---|
committer | 2017-06-16 14:24:34 +0000 | |
commit | f86d37be5b539e8b318d4449713e13f2cfc94da8 (patch) | |
tree | db924abe5565273b59ff91b17a623b47c235fd41 /src/gpu/ops/GrAAStrokeRectOp.cpp | |
parent | a5cb781c17c09e01655defd0a84b431996b6a015 (diff) |
Rename GrDrawOp::xpRequiresDstTexture to finalize and change return type to an enum
Bug: skia:
Change-Id: I0f9d9d3ef1dd20821f171f7d6237491921fbbd97
Reviewed-on: https://skia-review.googlesource.com/20142
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/ops/GrAAStrokeRectOp.cpp')
-rw-r--r-- | src/gpu/ops/GrAAStrokeRectOp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrAAStrokeRectOp.cpp b/src/gpu/ops/GrAAStrokeRectOp.cpp index e42358318a..662ce669fd 100644 --- a/src/gpu/ops/GrAAStrokeRectOp.cpp +++ b/src/gpu/ops/GrAAStrokeRectOp.cpp @@ -191,7 +191,7 @@ public: FixedFunctionFlags fixedFunctionFlags() const override { return fHelper.fixedFunctionFlags(); } - bool xpRequiresDstTexture(const GrCaps& caps, const GrAppliedClip* clip) override { + RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip) override { return fHelper.xpRequiresDstTexture(caps, clip, GrProcessorAnalysisCoverage::kSingleChannel, &fRects.back().fColor); } |