From f86d37be5b539e8b318d4449713e13f2cfc94da8 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Fri, 16 Jun 2017 10:04:34 -0400 Subject: 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 Reviewed-by: Greg Daniel --- tests/GrMeshTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/GrMeshTest.cpp') 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 { -- cgit v1.2.3