aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkPerlinNoiseShader.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-10-03 17:15:28 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-03 21:39:33 +0000
commit2ebd0c80a2a9d90a2c2c653f40a2a7205bd2d31b (patch)
tree1baafac8edfb1d5d51e9ea53b176b95506e809cd /src/effects/SkPerlinNoiseShader.cpp
parent2cbcd12281ee807214df094964c584c78932e10b (diff)
Remove option to make GrCoordTransforms apply to device positions.
Adds a device space texture decal effect to use for clipping. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2870 Change-Id: Ifcc7617ea87f5a86e301995cba9dfc30a4b0e2c5 Reviewed-on: https://skia-review.googlesource.com/2870 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/effects/SkPerlinNoiseShader.cpp')
-rw-r--r--src/effects/SkPerlinNoiseShader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkPerlinNoiseShader.cpp b/src/effects/SkPerlinNoiseShader.cpp
index a174bcac77..caff4958af 100644
--- a/src/effects/SkPerlinNoiseShader.cpp
+++ b/src/effects/SkPerlinNoiseShader.cpp
@@ -554,7 +554,7 @@ private:
this->initClassID<GrPerlinNoiseEffect>();
this->addTextureAccess(&fPermutationsAccess);
this->addTextureAccess(&fNoiseAccess);
- fCoordTransform.reset(kLocal_GrCoordSet, matrix);
+ fCoordTransform.reset(matrix);
this->addCoordTransform(&fCoordTransform);
}