aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrTexture.h')
-rw-r--r--include/gpu/GrTexture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h
index 1d589eddce..1aa2cbd8e1 100644
--- a/include/gpu/GrTexture.h
+++ b/include/gpu/GrTexture.h
@@ -46,11 +46,12 @@ public:
inline const GrTexturePriv texturePriv() const;
protected:
- GrTexture(GrGpu*, LifeCycle, const GrSurfaceDesc&, GrSLType, bool wasMipMapDataProvided);
+ GrTexture(GrGpu*, const GrSurfaceDesc&, GrSLType, bool wasMipMapDataProvided);
void validateDesc() const;
private:
+ void computeScratchKey(GrScratchKey*) const override;
size_t onGpuMemorySize() const override;
void dirtyMipMaps(bool mipMapsDirty);