aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-02-17 13:57:16 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-17 13:57:17 -0800
commit48e78468f5f6b900d476e616bdb1ba457c8f0b2a (patch)
tree69aae45ffdf900a73e98502a8067ce836f4a81f9 /src/gpu
parentb65fcd42830316414fb06d9b6b3cd080021f5097 (diff)
Mark existing image filter entry points that will be going away with Deprecated
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/GrLayerHoister.cpp3
-rw-r--r--src/gpu/SkGpuDevice.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp
index 842ab56dfb..c39aa2007f 100644
--- a/src/gpu/GrLayerHoister.cpp
+++ b/src/gpu/GrLayerHoister.cpp
@@ -308,7 +308,8 @@ void GrLayerHoister::FilterLayer(GrContext* context,
GrWrapTextureInBitmap(layer->texture(), layer->texture()->width(), layer->texture()->height(),
false, &src);
- if (!layer->filter()->filterImage(&proxy, src, filterContext, &filteredBitmap, &offset)) {
+ if (!layer->filter()->filterImageDeprecated(&proxy, src, filterContext,
+ &filteredBitmap, &offset)) {
// Filtering failed. Press on with the unfiltered version.
return;
}
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index cb92ab3edf..df5c7a73a1 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -1129,7 +1129,7 @@ bool SkGpuDevice::filterTexture(GrContext* context, GrTexture* texture,
if (filter->canFilterImageGPU()) {
SkBitmap bm;
GrWrapTextureInBitmap(texture, width, height, false, &bm);
- return filter->filterImageGPU(&proxy, bm, ctx, result, offset);
+ return filter->filterImageGPUDeprecated(&proxy, bm, ctx, result, offset);
} else {
return false;
}