| Index: src/gpu/GrTexturePriv.h
|
| diff --git a/src/gpu/GrTexturePriv.h b/src/gpu/GrTexturePriv.h
|
| index 8add4e1c495e563a5ca922825bd6cd241858013f..f5d7dcaed8c60749b945e44b7caeed0030a79965 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*);
|
|
|
| // TODO: Move this logic and the shift values out of here and to the callers.
|
| @@ -62,7 +70,7 @@ private:
|
| GrTexturePriv* operator&();
|
|
|
| GrTexture* fTexture;
|
| -
|
| +
|
| friend class GrTexture; // to construct/copy this type.
|
| };
|
|
|
|
|