aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental
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 /experimental
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 'experimental')
-rw-r--r--experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp
index b863b2a548..593fda1247 100644
--- a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp
+++ b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp
@@ -689,7 +689,7 @@ private:
this->initClassID<GrPerlinNoise2Effect>();
this->addTextureAccess(&fPermutationsAccess);
this->addTextureAccess(&fNoiseAccess);
- fCoordTransform.reset(kLocal_GrCoordSet, matrix);
+ fCoordTransform.reset(matrix);
this->addCoordTransform(&fCoordTransform);
}
@@ -1103,7 +1103,7 @@ private:
this->initClassID<GrImprovedPerlinNoiseEffect>();
this->addTextureAccess(&fPermutationsAccess);
this->addTextureAccess(&fGradientAccess);
- fCoordTransform.reset(kLocal_GrCoordSet, matrix);
+ fCoordTransform.reset(matrix);
this->addCoordTransform(&fCoordTransform);
}