aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkArithmeticMode.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-12-09 10:51:07 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-09 10:51:07 -0800
commit9f876a37d8b80ef04ccbc7755cf4572aecc33981 (patch)
treef5754a1b3a5f830783831a4e4b8a5444ceef1d09 /src/effects/SkArithmeticMode.cpp
parent54a57f5cf1e702107fd5daf106eca3b2bedac173 (diff)
Use threshold of 1 texture coord value per pixel w/ nearest neighbor.
Diffstat (limited to 'src/effects/SkArithmeticMode.cpp')
-rw-r--r--src/effects/SkArithmeticMode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/effects/SkArithmeticMode.cpp b/src/effects/SkArithmeticMode.cpp
index a1f14ec1cb..468e9e44df 100644
--- a/src/effects/SkArithmeticMode.cpp
+++ b/src/effects/SkArithmeticMode.cpp
@@ -315,7 +315,8 @@ GrArithmeticEffect::GrArithmeticEffect(float k1, float k2, float k3, float k4,
: fK1(k1), fK2(k2), fK3(k3), fK4(k4), fEnforcePMColor(enforcePMColor) {
this->initClassID<GrArithmeticEffect>();
if (background) {
- fBackgroundTransform.reset(kLocal_GrCoordSet, background);
+ fBackgroundTransform.reset(kLocal_GrCoordSet, background,
+ GrTextureParams::kNone_FilterMode);
this->addCoordTransform(&fBackgroundTransform);
fBackgroundAccess.reset(background);
this->addTextureAccess(&fBackgroundAccess);