Index: src/image/SkImageShader.cpp |
diff --git a/src/image/SkImageShader.cpp b/src/image/SkImageShader.cpp |
index 22189fa61a44f915668ab12add895e03ed0c89b2..5c985e30708d0c60e912506fe4d4c6aee5d1495a 100644 |
--- a/src/image/SkImageShader.cpp |
+++ b/src/image/SkImageShader.cpp |
@@ -86,7 +86,8 @@ void SkImageShader::toString(SkString* str) const { |
const GrFragmentProcessor* SkImageShader::asFragmentProcessor(GrContext* context, |
const SkMatrix& viewM, |
const SkMatrix* localMatrix, |
- SkFilterQuality filterQuality) const { |
+ SkFilterQuality filterQuality, |
+ GrRenderTarget* dst) const { |
SkMatrix matrix; |
matrix.setIDiv(fImage->width(), fImage->height()); |
@@ -120,9 +121,9 @@ const GrFragmentProcessor* SkImageShader::asFragmentProcessor(GrContext* context |
SkAutoTUnref<const GrFragmentProcessor> inner; |
if (doBicubic) { |
- inner.reset(GrBicubicEffect::Create(texture, matrix, tm)); |
+ inner.reset(GrBicubicEffect::Create(texture, matrix, tm, dst)); |
} else { |
- inner.reset(GrSimpleTextureEffect::Create(texture, matrix, params)); |
+ inner.reset(GrSimpleTextureEffect::Create(texture, matrix, params, kLocal_GrCoordSet, dst)); |
} |
if (GrPixelConfigIsAlphaOnly(texture->config())) { |