| Index: include/gpu/GrTexture.h
|
| diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h
|
| index 1d589eddcef3ba44504cda3e1785a263cbda6996..f597f57c87c6de7d902d573151e912db0188c612 100644
|
| --- a/include/gpu/GrTexture.h
|
| +++ b/include/gpu/GrTexture.h
|
| @@ -46,12 +46,14 @@ public:
|
| inline const GrTexturePriv texturePriv() const;
|
|
|
| protected:
|
| - GrTexture(GrGpu*, LifeCycle, const GrSurfaceDesc&, GrSLType, bool wasMipMapDataProvided);
|
| -
|
| + GrTexture(GrGpu*, SkBudgeted, const GrSurfaceDesc&, GrSLType, bool wasMipMapDataProvided);
|
| + void initScratchKeyIfNeeded();
|
| void validateDesc() const;
|
|
|
| -private:
|
| + // In protected because subclass GrGLTexture calls this version.
|
| size_t onGpuMemorySize() const override;
|
| +
|
| +private:
|
| void dirtyMipMaps(bool mipMapsDirty);
|
|
|
| enum MipMapsStatus {
|
|
|