diff options
author | Robert Phillips <robertphillips@google.com> | 2017-03-21 09:14:35 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-21 13:50:17 +0000 |
commit | 81444fbc22d09c92f6c577254c6c82dfa9967391 (patch) | |
tree | 64802cb0df87bf3dce4758c134bad1008c9b50b8 /src/gpu/GrTextureAdjuster.cpp | |
parent | eaa78c45002b4a6e43f4fe2028652b050132dad2 (diff) |
rename makeCopyForTextureParams to isACopyNeededForTextureParams
I thought the old name was misleading
split out of: https://skia-review.googlesource.com/c/8823/ (Remove GrFragmentProcessor-derived class' GrTexture-based ctors)
Change-Id: I8c5fc6de487b50c9ec37843ff7501b52140dde00
Reviewed-on: https://skia-review.googlesource.com/9961
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrTextureAdjuster.cpp')
-rw-r--r-- | src/gpu/GrTextureAdjuster.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrTextureAdjuster.cpp b/src/gpu/GrTextureAdjuster.cpp index a85100a59a..5dc71489ce 100644 --- a/src/gpu/GrTextureAdjuster.cpp +++ b/src/gpu/GrTextureAdjuster.cpp @@ -110,8 +110,8 @@ GrTexture* GrTextureAdjuster::refTextureSafeForParams(const GrSamplerParams& par copyParams.fWidth = contentArea->width(); copyParams.fHeight = contentArea->height(); copyParams.fFilter = GrSamplerParams::kBilerp_FilterMode; - } else if (!fContext->getGpu()->makeCopyForTextureParams(texture, params, ©Params, - scaleAdjust)) { + } else if (!fContext->getGpu()->isACopyNeededForTextureParams(texture, params, ©Params, + scaleAdjust)) { if (outOffset) { if (contentArea) { outOffset->set(contentArea->fLeft, contentArea->fRight); |