aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrBicubicEffect.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-08-29 15:05:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-29 15:05:53 -0700
commit6267f81f3d60ce144ab2b09ea369420984d5c9d9 (patch)
tree6735ee6442429168bd760eb3f12caa6131ab2bd7 /src/gpu/effects/GrBicubicEffect.h
parent413191419dabdadf43625be2f6a5f0d4f2e3af4f (diff)
Move MakeDivByTextureWHMatrix to GrCoordTransform
R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/522873005
Diffstat (limited to 'src/gpu/effects/GrBicubicEffect.h')
-rw-r--r--src/gpu/effects/GrBicubicEffect.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/effects/GrBicubicEffect.h b/src/gpu/effects/GrBicubicEffect.h
index 6cfb827415..27b111ed54 100644
--- a/src/gpu/effects/GrBicubicEffect.h
+++ b/src/gpu/effects/GrBicubicEffect.h
@@ -42,10 +42,12 @@ public:
if (NULL == domain) {
static const SkShader::TileMode kTileModes[] = { SkShader::kClamp_TileMode,
SkShader::kClamp_TileMode };
- return Create(tex, coefficients, MakeDivByTextureWHMatrix(tex), kTileModes);
+ return Create(tex, coefficients, GrCoordTransform::MakeDivByTextureWHMatrix(tex),
+ kTileModes);
} else {
return SkNEW_ARGS(GrBicubicEffect, (tex, coefficients,
- MakeDivByTextureWHMatrix(tex), *domain));
+ GrCoordTransform::MakeDivByTextureWHMatrix(tex),
+ *domain));
}
}