diff options
author | Greg Daniel <egdaniel@google.com> | 2017-09-25 12:27:44 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-26 18:17:37 +0000 |
commit | e2d76d5ffea9e0fed2970d7b54d77b91d4b358de (patch) | |
tree | 19b966ae91bbb97d97b812ae6641c3f77a7ba27a /src/gpu/GrTextureProxy.cpp | |
parent | 9b89bcae4088b174480795ef16e321c6c74e85ae (diff) |
Remove fIsMipMapped from GrSurfaceDesc
Part 3 of 3 for relanding of https://skia-review.googlesource.com/c/skia/+/42083
Bug: skia:
Change-Id: I98c5406015213df5d11a0101df8722da6845157e
Reviewed-on: https://skia-review.googlesource.com/44464
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrTextureProxy.cpp')
-rw-r--r-- | src/gpu/GrTextureProxy.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrTextureProxy.cpp b/src/gpu/GrTextureProxy.cpp index 9aeec8d2aa..8b9e58b594 100644 --- a/src/gpu/GrTextureProxy.cpp +++ b/src/gpu/GrTextureProxy.cpp @@ -15,11 +15,10 @@ GrTextureProxy::GrTextureProxy(const GrSurfaceDesc& srcDesc, SkBackingFit fit, SkBudgeted budgeted, const void* srcData, size_t /*rowBytes*/, uint32_t flags) : INHERITED(srcDesc, fit, budgeted, flags) - , fIsMipMapped(srcDesc.fIsMipMapped) + , fIsMipMapped(false) , fMipColorMode(SkDestinationSurfaceColorMode::kLegacy) , fCache(nullptr) { SkASSERT(!srcData); // currently handled in Make() - SkASSERT(!fIsMipMapped); } GrTextureProxy::GrTextureProxy(sk_sp<GrSurface> surf, GrSurfaceOrigin origin) |