aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureMaker.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2018-07-02 13:21:05 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-02 18:11:21 +0000
commitd614d4213755e52da2eb6f6d54d376d09c82d2bf (patch)
treeac7231574993c0d1cad442de3e1fa8c778c79d0a /src/gpu/GrTextureMaker.cpp
parent8529080afa799d6b2146aed26a073b5cb4c4b195 (diff)
Remove unused generateTextureProxyForParams
Change-Id: Ia599d8db0072b1f3629e05c5bd6bb6e7492cad28 Reviewed-on: https://skia-review.googlesource.com/138937 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrTextureMaker.cpp')
-rw-r--r--src/gpu/GrTextureMaker.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gpu/GrTextureMaker.cpp b/src/gpu/GrTextureMaker.cpp
index 47eeeaaeb6..f9ee7585d2 100644
--- a/src/gpu/GrTextureMaker.cpp
+++ b/src/gpu/GrTextureMaker.cpp
@@ -158,15 +158,3 @@ std::unique_ptr<GrFragmentProcessor> GrTextureMaker::createFragmentProcessor(
domainMode, domain, filterOrNullForBicubic);
return GrColorSpaceXformEffect::Make(std::move(fp), texColorSpace.get(), dstColorSpace);
}
-
-sk_sp<GrTextureProxy> GrTextureMaker::generateTextureProxyForParams(const CopyParams& copyParams,
- bool willBeMipped,
- SkColorSpace* dstColorSpace) {
- sk_sp<GrTextureProxy> original(this->refOriginalTextureProxy(willBeMipped, dstColorSpace,
- AllowedTexGenType::kAny));
- if (!original) {
- return nullptr;
- }
-
- return CopyOnGpu(fContext, std::move(original), copyParams, willBeMipped);
-}