diff options
author | 2018-07-02 13:21:05 -0400 | |
---|---|---|
committer | 2018-07-02 18:11:21 +0000 | |
commit | d614d4213755e52da2eb6f6d54d376d09c82d2bf (patch) | |
tree | ac7231574993c0d1cad442de3e1fa8c778c79d0a /src/gpu/GrTextureMaker.cpp | |
parent | 8529080afa799d6b2146aed26a073b5cb4c4b195 (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.cpp | 12 |
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); -} |