Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index cbee8500ac85588eab5f55c835a1f5a84eeb2ba2..cb17c9011b6e9b98b8e7a807580983812e22e9ff 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -502,9 +502,10 @@ GrTexture* apply_morphology(GrTexture* srcTexture, |
}; |
-bool SkDilateImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkBitmap* result) { |
+bool SkDilateImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkBitmap* result, |
+ SkIPoint* offset) { |
SkBitmap inputBM; |
- if (!SkImageFilterUtils::GetInputResultGPU(getInput(0), proxy, src, &inputBM)) { |
+ if (!SkImageFilterUtils::GetInputResultGPU(getInput(0), proxy, src, &inputBM, offset)) { |
return false; |
} |
GrTexture* input = inputBM.getTexture(); |
@@ -515,9 +516,10 @@ bool SkDilateImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkBi |
return SkImageFilterUtils::WrapTexture(resultTex, src.width(), src.height(), result); |
} |
-bool SkErodeImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkBitmap* result) { |
+bool SkErodeImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkBitmap* result, |
+ SkIPoint* offset) { |
SkBitmap inputBM; |
- if (!SkImageFilterUtils::GetInputResultGPU(getInput(0), proxy, src, &inputBM)) { |
+ if (!SkImageFilterUtils::GetInputResultGPU(getInput(0), proxy, src, &inputBM, offset)) { |
return false; |
} |
GrTexture* input = inputBM.getTexture(); |