| Index: src/effects/GrAlphaThresholdFragmentProcessor.h
|
| diff --git a/src/effects/GrAlphaThresholdFragmentProcessor.h b/src/effects/GrAlphaThresholdFragmentProcessor.h
|
| index c5b8d4ede29a53e727254a0554fb51b0288e0f03..8416499b0d6534a3966eed6b6aa0c55818780437 100644
|
| --- a/src/effects/GrAlphaThresholdFragmentProcessor.h
|
| +++ b/src/effects/GrAlphaThresholdFragmentProcessor.h
|
| @@ -17,6 +17,8 @@
|
| #include "GrFragmentProcessor.h"
|
| #include "GrProcessorUnitTest.h"
|
|
|
| +class GrTextureProxy;
|
| +
|
| class GrAlphaThresholdFragmentProcessor : public GrFragmentProcessor {
|
|
|
| public:
|
| @@ -27,6 +29,13 @@ public:
|
| float outerThreshold,
|
| const SkIRect& bounds);
|
|
|
| + static sk_sp<GrFragmentProcessor> Make(GrTextureProxy* texture,
|
| + sk_sp<GrColorSpaceXform> colorSpaceXform,
|
| + GrTextureProxy* maskTexture,
|
| + float innerThreshold,
|
| + float outerThreshold,
|
| + const SkIRect& bounds);
|
| +
|
| const char* name() const override { return "Alpha Threshold"; }
|
|
|
| float innerThreshold() const { return fInnerThreshold; }
|
|
|