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/GrDrawPathOp.h | |
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/GrDrawPathOp.h')
-rw-r--r-- | src/gpu/ops/GrDrawPathOp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/ops/GrDrawPathOp.h b/src/gpu/ops/GrDrawPathOp.h index 8df85b430b..ce9e6e048d 100644 --- a/src/gpu/ops/GrDrawPathOp.h +++ b/src/gpu/ops/GrDrawPathOp.h @@ -30,8 +30,9 @@ protected: } return FixedFunctionFlags::kUsesStencil; } - bool xpRequiresDstTexture(const GrCaps& caps, const GrAppliedClip* clip) override { - return this->doProcessorAnalysis(caps, clip).requiresDstTexture(); + RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip) override { + return this->doProcessorAnalysis(caps, clip).requiresDstTexture() ? RequiresDstTexture::kYes + : RequiresDstTexture::kNo; } protected: |