diff options
Diffstat (limited to 'src/effects/GrAlphaThresholdFragmentProcessor.h')
-rw-r--r-- | src/effects/GrAlphaThresholdFragmentProcessor.h | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/src/effects/GrAlphaThresholdFragmentProcessor.h b/src/effects/GrAlphaThresholdFragmentProcessor.h index bb5aba7ae1..f2c14c64bc 100644 --- a/src/effects/GrAlphaThresholdFragmentProcessor.h +++ b/src/effects/GrAlphaThresholdFragmentProcessor.h @@ -25,30 +25,7 @@ public: 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, - GrTexture* maskTexture, - float innerThreshold, - float outerThreshold, - const SkIRect& bounds) { - return sk_sp<GrFragmentProcessor>(new GrAlphaThresholdFragmentProcessor( - context, - std::move(proxy), - std::move(colorSpaceXform), - maskTexture, - innerThreshold, outerThreshold, - bounds)); - } + const SkIRect& bounds); const char* name() const override { return "Alpha Threshold"; } @@ -67,14 +44,6 @@ private: float outerThreshold, const SkIRect& bounds); - GrAlphaThresholdFragmentProcessor(GrContext*, - sk_sp<GrTextureProxy> proxy, - sk_sp<GrColorSpaceXform> colorSpaceXform, - GrTexture* maskTexture, - float innerThreshold, - float outerThreshold, - const SkIRect& bounds); - GrGLSLFragmentProcessor* onCreateGLSLInstance() const override; void onGetGLSLProcessorKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const override; |