diff options
author | 2017-05-17 14:27:58 -0400 | |
---|---|---|
committer | 2017-05-18 14:38:03 +0000 | |
commit | 081e0e6a32244a7945ddd40c2003fd312673c586 (patch) | |
tree | 4e21a3f2e8a7768cac66c38200f7ad3ad8a50623 /include/private/GrTextureProxy.h | |
parent | c96da1e51e1ca72d54dda49f32891bd41530ad31 (diff) |
Move MIP color mode from GrSurfaceProxy to GrTextureProxy
Change-Id: I76bc7f551ea4052fc611cf01e0ce81102c9c3395
Reviewed-on: https://skia-review.googlesource.com/17263
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/private/GrTextureProxy.h')
-rw-r--r-- | include/private/GrTextureProxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/private/GrTextureProxy.h b/include/private/GrTextureProxy.h index 342e920682..d40b2e173e 100644 --- a/include/private/GrTextureProxy.h +++ b/include/private/GrTextureProxy.h @@ -53,8 +53,11 @@ protected: // Wrapped version GrTextureProxy(sk_sp<GrSurface>); + SkDestinationSurfaceColorMode mipColorMode() const { return fMipColorMode; } + private: bool fIsMipMapped; + SkDestinationSurfaceColorMode fMipColorMode; size_t onUninstantiatedGpuMemorySize() const override; |