aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrSimpleTextureEffect.h
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-07-31 11:18:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-31 15:44:32 +0000
commitf57c0d67611186ba74179b53b421e64b63a579c7 (patch)
tree6e9cdae25bdc158bcd1a0b667bc95bb8185182f8 /src/gpu/effects/GrSimpleTextureEffect.h
parent45b0f15688c1c508204143a3239e0691abd14032 (diff)
automatically generate clone() methods for SkSL fragment processors
Bug: skia: Change-Id: Ib7b90f20d2b1558aad14f38f95c7c884e654c96d Reviewed-on: https://skia-review.googlesource.com/28620 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/effects/GrSimpleTextureEffect.h')
-rw-r--r--src/gpu/effects/GrSimpleTextureEffect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/effects/GrSimpleTextureEffect.h b/src/gpu/effects/GrSimpleTextureEffect.h
index 41d7af772c..25ef1c5bd0 100644
--- a/src/gpu/effects/GrSimpleTextureEffect.h
+++ b/src/gpu/effects/GrSimpleTextureEffect.h
@@ -47,6 +47,8 @@ public:
return sk_sp<GrFragmentProcessor>(
new GrSimpleTextureEffect(std::move(proxy), std::move(colorSpaceXform), matrix, p));
}
+ GrSimpleTextureEffect(const GrSimpleTextureEffect& src);
+ sk_sp<GrFragmentProcessor> clone() const override;
const char* name() const override { return "SimpleTextureEffect"; }
private: