Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: src/effects/GrAlphaThresholdFragmentProcessor.h

Issue 2215323003: Start using RenderTargetProxy (omnibus) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkSpecialSurface.cpp ('k') | src/effects/SkAlphaThresholdFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
« no previous file with comments | « src/core/SkSpecialSurface.cpp ('k') | src/effects/SkAlphaThresholdFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698