aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrTextureDomain.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-07-26 13:11:51 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-26 17:52:00 +0000
commit1a2a7abe96d258399cca111ea55594599b461c33 (patch)
tree84e6a556766931cb8df890b8fa03c981fddac42e /src/gpu/effects/GrTextureDomain.h
parentdf6660f64e4d915de7471c3daa67f9b68037ff3f (diff)
More GrFragmentProcessor::clone() implementations.
GrSRGBEffect EllipticalRRectEffect CircularRRectEffect GrNonlinearColorSpaceXformEffect GrDeviceSpaceTextureDecalFragmentProcessor Change-Id: I701fb7ed36e66414adba2eea73f6eed306691b49 Reviewed-on: https://skia-review.googlesource.com/26942 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/effects/GrTextureDomain.h')
-rw-r--r--src/gpu/effects/GrTextureDomain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/effects/GrTextureDomain.h b/src/gpu/effects/GrTextureDomain.h
index f6970ea46e..c74a9919c4 100644
--- a/src/gpu/effects/GrTextureDomain.h
+++ b/src/gpu/effects/GrTextureDomain.h
@@ -211,6 +211,8 @@ public:
return str;
}
+ sk_sp<GrFragmentProcessor> clone() const override;
+
private:
TextureSampler fTextureSampler;
GrTextureDomain fTextureDomain;
@@ -218,6 +220,7 @@ private:
GrDeviceSpaceTextureDecalFragmentProcessor(sk_sp<GrTextureProxy>,
const SkIRect&, const SkIPoint&);
+ GrDeviceSpaceTextureDecalFragmentProcessor(const GrDeviceSpaceTextureDecalFragmentProcessor&);
GrGLSLFragmentProcessor* onCreateGLSLInstance() const override;