aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrMeshTest.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-06-16 10:04:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-16 14:24:34 +0000
commitf86d37be5b539e8b318d4449713e13f2cfc94da8 (patch)
treedb924abe5565273b59ff91b17a623b47c235fd41 /tests/GrMeshTest.cpp
parenta5cb781c17c09e01655defd0a84b431996b6a015 (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 'tests/GrMeshTest.cpp')
-rw-r--r--tests/GrMeshTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/GrMeshTest.cpp b/tests/GrMeshTest.cpp
index e4663e1af0..0e67acfcfc 100644
--- a/tests/GrMeshTest.cpp
+++ b/tests/GrMeshTest.cpp
@@ -262,7 +262,9 @@ public:
private:
const char* name() const override { return "GrMeshTestOp"; }
FixedFunctionFlags fixedFunctionFlags() const override { return FixedFunctionFlags::kNone; }
- bool xpRequiresDstTexture(const GrCaps&, const GrAppliedClip*) override { return false; }
+ RequiresDstTexture finalize(const GrCaps&, const GrAppliedClip*) override {
+ return RequiresDstTexture::kNo;
+ }
bool onCombineIfPossible(GrOp* other, const GrCaps& caps) override { return false; }
void onPrepare(GrOpFlushState*) override {}
void onExecute(GrOpFlushState* state) override {