aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/GrAlphaThresholdFragmentProcessor.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-02-28 16:20:03 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-28 22:07:05 +0000
commit32f2818c9d10090efeea62ccc211d48a33322dfb (patch)
treefd301bc81387a3c3e0cc767cba43ba214a314f86 /src/effects/GrAlphaThresholdFragmentProcessor.h
parentdac5f6bcbec7130a209a6899444feb022719498d (diff)
Clean up/remove unused GrFragmentProcessor-derived ctors
This is the simple (i.e., non-TextureAdjuster) portion of: https://skia-review.googlesource.com/c/8823/ (Remove GrFragmentProcessor-derived class' GrTexture-based ctors) Change-Id: I8f673ebe922e03c69473c18c166bcf818507c662 Reviewed-on: https://skia-review.googlesource.com/8997 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/effects/GrAlphaThresholdFragmentProcessor.h')
-rw-r--r--src/effects/GrAlphaThresholdFragmentProcessor.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/effects/GrAlphaThresholdFragmentProcessor.h b/src/effects/GrAlphaThresholdFragmentProcessor.h
index fa7a760e23..315993d059 100644
--- a/src/effects/GrAlphaThresholdFragmentProcessor.h
+++ b/src/effects/GrAlphaThresholdFragmentProcessor.h
@@ -20,20 +20,6 @@
class GrAlphaThresholdFragmentProcessor : public GrFragmentProcessor {
public:
- static sk_sp<GrFragmentProcessor> Make(GrTexture* texture,
- sk_sp<GrColorSpaceXform> colorSpaceXform,
- GrTexture* maskTexture,
- float innerThreshold,
- float outerThreshold,
- const SkIRect& bounds) {
- return sk_sp<GrFragmentProcessor>(new GrAlphaThresholdFragmentProcessor(
- texture,
- std::move(colorSpaceXform),
- maskTexture,
- innerThreshold, outerThreshold,
- bounds));
- }
-
static sk_sp<GrFragmentProcessor> Make(GrContext* context,
sk_sp<GrTextureProxy> proxy,
sk_sp<GrColorSpaceXform> colorSpaceXform,
@@ -60,13 +46,6 @@ public:
private:
static OptimizationFlags OptFlags(float outerThreshold);
- GrAlphaThresholdFragmentProcessor(GrTexture* texture,
- sk_sp<GrColorSpaceXform> colorSpaceXform,
- GrTexture* maskTexture,
- float innerThreshold,
- float outerThreshold,
- const SkIRect& bounds);
-
GrAlphaThresholdFragmentProcessor(GrContext*,
sk_sp<GrTextureProxy> proxy,
sk_sp<GrColorSpaceXform> colorSpaceXform,