Index: src/effects/SkBicubicImageFilter.cpp |
diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp |
index acf48f04dea13d8caf3619b781913bc6ea4c2edc..eabf066c7df940e417b6380c06655d4a6e6f4d46 100644 |
--- a/src/effects/SkBicubicImageFilter.cpp |
+++ b/src/effects/SkBicubicImageFilter.cpp |
@@ -82,12 +82,12 @@ inline SkPMColor cubicBlend(const SkScalar c[16], SkScalar t, SkPMColor c0, SkPM |
bool SkBicubicImageFilter::onFilterImage(Proxy* proxy, |
const SkBitmap& source, |
- const SkMatrix& matrix, |
+ const Context& ctx, |
SkBitmap* result, |
SkIPoint* offset) const { |
SkBitmap src = source; |
SkIPoint srcOffset = SkIPoint::Make(0, 0); |
- if (getInput(0) && !getInput(0)->filterImage(proxy, source, matrix, &src, &srcOffset)) { |
+ if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { |
return false; |
} |
@@ -168,10 +168,10 @@ bool SkBicubicImageFilter::onFilterImage(Proxy* proxy, |
#if SK_SUPPORT_GPU |
-bool SkBicubicImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm, |
+bool SkBicubicImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context& ctx, |
SkBitmap* result, SkIPoint* offset) const { |
SkBitmap srcBM = src; |
- if (getInput(0) && !getInput(0)->getInputResultGPU(proxy, src, ctm, &srcBM, offset)) { |
+ if (getInput(0) && !getInput(0)->getInputResultGPU(proxy, src, ctx, &srcBM, offset)) { |
return false; |
} |
GrTexture* srcTexture = srcBM.getTexture(); |