diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-10 19:55:18 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-10 19:55:18 +0000 |
commit | 171f5c76b95da85ff7341f6cb0dcdac868101de7 (patch) | |
tree | fee75eb22917ad669e98580b7bf4acb301bc605c /src/gpu | |
parent | 091f51b794e62942db47ccef6fef143ad1590d12 (diff) |
Rename onFilterImageGPU to filterImageGPU(), to match skia convention. No change in functionality.
(Note that this does mean that clients must override onFilterImage() to implement the raster path, but filterImageGPU() to implement the GPU path.)
Review URL: https://codereview.appspot.com/7058078
git-svn-id: http://skia.googlecode.com/svn/trunk@7123 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 69c808d8e0..3100e0c7ba 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1448,7 +1448,7 @@ static GrTexture* filter_texture(SkDevice* device, GrContext* context, // Save the render target and set it to NULL, so we don't accidentally draw to it in the // filter. Also set the clip wide open and the matrix to identity. GrContext::AutoWideOpenIdentityDraw awo(context, NULL); - texture = filter->onFilterImageGPU(&proxy, texture, rect); + texture = filter->filterImageGPU(&proxy, texture, rect); } else if (filter->asNewEffect(&effect, texture)) { GrAutoScratchTexture dst(context, desc); apply_effect(context, texture, dst.texture(), rect, effect); |