diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/gl/GrGLTexture.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gpu/gl/GrGLTexture.h b/src/gpu/gl/GrGLTexture.h index dd6419eb71..e408e5db94 100644 --- a/src/gpu/gl/GrGLTexture.h +++ b/src/gpu/gl/GrGLTexture.h @@ -76,7 +76,9 @@ public: virtual ~GrGLTexture() { this->release(); } - virtual intptr_t getTextureHandle() const; + virtual intptr_t getTextureHandle() const SK_OVERRIDE; + + virtual void invalidateCachedState() SK_OVERRIDE { fTexParams.invalidate(); } // these functions const TexParams& getCachedTexParams(GrGpu::ResetTimestamp* timestamp) const { @@ -105,8 +107,8 @@ public: protected: // overrides of GrTexture - virtual void onAbandon(); - virtual void onRelease(); + virtual void onAbandon() SK_OVERRIDE; + virtual void onRelease() SK_OVERRIDE; private: TexParams fTexParams; |