aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/GrAlphaThresholdFragmentProcessor.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-02-21 10:04:31 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-21 16:34:11 +0000
commitdbc8eeb592123619d9c5bb4b6c6225b9fd45d03b (patch)
tree053905e92d6e9ac236a2a2adecb07104e9c0e390 /src/effects/GrAlphaThresholdFragmentProcessor.h
parent9048851e579dffad43f0c77e15030d4fdd5377a8 (diff)
Remove GrProcessorTestData's GrTextures
(No longer) Blocked on: https://skia-review.googlesource.com/c/8450/ (Remove asTextureRef from SkSpecialImage & update effects accordingly (take 2)) This also (unfortunately) picks up a few straggling effects that didn't have a sk_sp<GrTextureProxy> factory. Change-Id: I5ce583a084aa8fe00e866eec1db90e2ec9dd2ab0 Reviewed-on: https://skia-review.googlesource.com/8500 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/effects/GrAlphaThresholdFragmentProcessor.h')
-rw-r--r--src/effects/GrAlphaThresholdFragmentProcessor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effects/GrAlphaThresholdFragmentProcessor.h b/src/effects/GrAlphaThresholdFragmentProcessor.h
index 2dd18e807a..fa7a760e23 100644
--- a/src/effects/GrAlphaThresholdFragmentProcessor.h
+++ b/src/effects/GrAlphaThresholdFragmentProcessor.h
@@ -37,7 +37,7 @@ public:
static sk_sp<GrFragmentProcessor> Make(GrContext* context,
sk_sp<GrTextureProxy> proxy,
sk_sp<GrColorSpaceXform> colorSpaceXform,
- GrTexture* maskTexture,
+ sk_sp<GrTextureProxy> maskProxy,
float innerThreshold,
float outerThreshold,
const SkIRect& bounds) {
@@ -45,7 +45,7 @@ public:
context,
std::move(proxy),
std::move(colorSpaceXform),
- maskTexture,
+ std::move(maskProxy),
innerThreshold, outerThreshold,
bounds));
}
@@ -70,7 +70,7 @@ private:
GrAlphaThresholdFragmentProcessor(GrContext*,
sk_sp<GrTextureProxy> proxy,
sk_sp<GrColorSpaceXform> colorSpaceXform,
- GrTexture* maskTexture,
+ sk_sp<GrTextureProxy> maskProxy,
float innerThreshold,
float outerThreshold,
const SkIRect& bounds);