diff options
author | 2016-02-17 13:57:16 -0800 | |
---|---|---|
committer | 2016-02-17 13:57:17 -0800 | |
commit | 48e78468f5f6b900d476e616bdb1ba457c8f0b2a (patch) | |
tree | 69aae45ffdf900a73e98502a8067ce836f4a81f9 /src/gpu | |
parent | b65fcd42830316414fb06d9b6b3cd080021f5097 (diff) |
Mark existing image filter entry points that will be going away with Deprecated
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1709753002
Review URL: https://codereview.chromium.org/1709753002
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrLayerHoister.cpp | 3 | ||||
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
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; } |