diff options
author | bsalomon <bsalomon@google.com> | 2016-04-13 14:29:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-13 14:29:25 -0700 |
commit | 7e68ab73186ab02a6030d3959e7372f983f85af5 (patch) | |
tree | 973b20fb786c0e2ac42344652ec07a36d112b3f8 /src/gpu/GrTexture.cpp | |
parent | 0e3c55431b463b5575983c0c875909e08a3562bf (diff) |
Remove GrTextureStorageAllocator. This was added from Chromium but never used and not expected to be used.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1886613003
Review URL: https://codereview.chromium.org/1886613003
Diffstat (limited to 'src/gpu/GrTexture.cpp')
-rw-r--r-- | src/gpu/GrTexture.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp index 9051c851bd..349e6a383f 100644 --- a/src/gpu/GrTexture.cpp +++ b/src/gpu/GrTexture.cpp @@ -90,8 +90,7 @@ GrTexture::GrTexture(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc, GrSLType samplerType, bool wasMipMapDataProvided) : INHERITED(gpu, lifeCycle, desc) , fSamplerType(samplerType) { - if (!this->isExternal() && !GrPixelConfigIsCompressed(desc.fConfig) && - !desc.fTextureStorageAllocator.fAllocateTextureStorage) { + if (!this->isExternal() && !GrPixelConfigIsCompressed(desc.fConfig)) { GrScratchKey key; GrTexturePriv::ComputeScratchKey(desc, &key); this->setScratchKey(key); |