diff options
author | Greg Daniel <egdaniel@google.com> | 2018-06-13 09:41:19 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-13 18:06:56 +0000 |
commit | da86e2822ab31770e989009716dd4c89966ade45 (patch) | |
tree | 66a8fe4ff7e07bd7003f317d0b29a39ebf411790 /src/gpu/GrTexturePriv.h | |
parent | e141548696bd049b0e520391ff64e64e4e02c55f (diff) |
Remove unused code that was used for late mip allocations.
This also includes removing code to support changing GrGpuResource's size
since we now have to way to ever change the size.
Bug: skia:
Change-Id: Id27a8bc3cc94f5b954beda528b209727ede10ef6
Reviewed-on: https://skia-review.googlesource.com/134503
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrTexturePriv.h')
-rw-r--r-- | src/gpu/GrTexturePriv.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrTexturePriv.h b/src/gpu/GrTexturePriv.h index 2979e8bd94..1cdd2dc9f5 100644 --- a/src/gpu/GrTexturePriv.h +++ b/src/gpu/GrTexturePriv.h @@ -36,10 +36,6 @@ public: return GrMipMapped::kNo; } - void setMaxMipMapLevel(int maxMipMapLevel) const { - fTexture->fMaxMipMapLevel = maxMipMapLevel; - } - int maxMipMapLevel() const { return fTexture->fMaxMipMapLevel; } |