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>
diff --git a/src/gpu/GrTextureMaker.cpp b/src/gpu/GrTextureMaker.cpp
index bd0840b..06a8f27 100644
--- a/src/gpu/GrTextureMaker.cpp
+++ b/src/gpu/GrTextureMaker.cpp
@@ -26,8 +26,8 @@
*texColorSpace = this->getColorSpace(dstColorSpace);
}
- if (!fContext->getGpu()->makeCopyForTextureParams(this->width(), this->height(), params,
- ©Params, scaleAdjust)) {
+ if (!fContext->getGpu()->isACopyNeededForTextureParams(this->width(), this->height(), params,
+ ©Params, scaleAdjust)) {
return this->refOriginalTexture(willBeMipped, dstColorSpace);
}
GrUniqueKey copyKey;