| Index: src/core/SkBitmapProcShader.cpp
|
| diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp
|
| index dd97380bbdb88eab9f9bef78ec38fe315733bbe3..f02bf559e7ca1d051ad361fcd63221d18ed841fd 100644
|
| --- a/src/core/SkBitmapProcShader.cpp
|
| +++ b/src/core/SkBitmapProcShader.cpp
|
| @@ -361,7 +361,8 @@ void SkBitmapProcShader::toString(SkString* str) const {
|
|
|
| const GrFragmentProcessor* SkBitmapProcShader::asFragmentProcessor(GrContext* context,
|
| const SkMatrix& viewM, const SkMatrix* localMatrix,
|
| - SkFilterQuality filterQuality) const {
|
| + SkFilterQuality filterQuality,
|
| + GrRenderTarget* dst) const {
|
| SkMatrix matrix;
|
| matrix.setIDiv(fRawBitmap.width(), fRawBitmap.height());
|
|
|
| @@ -402,9 +403,9 @@ const GrFragmentProcessor* SkBitmapProcShader::asFragmentProcessor(GrContext* co
|
|
|
| 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 (kAlpha_8_SkColorType == fRawBitmap.colorType()) {
|
|
|