Index: src/gpu/GrTexturePriv.h |
diff --git a/src/gpu/GrTexturePriv.h b/src/gpu/GrTexturePriv.h |
index 165594c37a4b4d1b16ca7bf1eff4c0b43d5b1e87..fee7ed1f960df51275118278c70a0595ae366c21 100644 |
--- a/src/gpu/GrTexturePriv.h |
+++ b/src/gpu/GrTexturePriv.h |
@@ -39,6 +39,14 @@ public: |
return GrTexture::kNotAllocated_MipMapsStatus != fTexture->fMipMapsStatus; |
} |
+ void setMaxMipMapLevel(int maxMipMapLevel) const { |
+ fTexture->fMaxMipMapLevel = maxMipMapLevel; |
+ } |
+ |
+ int maxMipMapLevel() const { |
+ return fTexture->fMaxMipMapLevel; |
+ } |
+ |
static void ComputeScratchKey(const GrSurfaceDesc&, GrScratchKey*); |
private: |