aboutsummaryrefslogtreecommitdiff
path: root/samplecode
diff options
context:
space:
mode:
authorChris Dalton <csmartdalton@google.com>2019-01-15 11:53:00 -0700
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2019-01-16 21:22:38 +0000
commit4b62aed9736f2f4c664e9ee947bd896c74739a59 (patch)
tree4de856d64b472b4af453ec37c8ba10a157970fc7 /samplecode
parent61a16515cf8a47cc5ea0336feb0aecdc4f62cf3a (diff)
downloadskqp-4b62aed9736f2f4c664e9ee947bd896c74739a59.tar.gz
Return GrProcessorSet::Analysis from GrDrawOp::finalize
Bug: skia:8671 Change-Id: Ib35d1642659021419f408bf19b1b0dc0066e8df2 Reviewed-on: https://skia-review.googlesource.com/c/184160 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'samplecode')
-rw-r--r--samplecode/SampleCCPRGeometry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleCCPRGeometry.cpp b/samplecode/SampleCCPRGeometry.cpp
index 9ba67e62c4..b2c546d4bb 100644
--- a/samplecode/SampleCCPRGeometry.cpp
+++ b/samplecode/SampleCCPRGeometry.cpp
@@ -90,8 +90,8 @@ public:
private:
FixedFunctionFlags fixedFunctionFlags() const override { return FixedFunctionFlags::kNone; }
- RequiresDstTexture finalize(const GrCaps&, const GrAppliedClip*) override {
- return RequiresDstTexture::kNo;
+ GrProcessorSet::Analysis finalize(const GrCaps&, const GrAppliedClip*) override {
+ return GrProcessorSet::EmptySetAnalysis();
}
void onPrepare(GrOpFlushState*) override {}
void onExecute(GrOpFlushState*, const SkRect& chainBounds) override;