Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index 964f5c870ce89190b9a7356e1c81e36fb41c3b4b..110a6671baff4c6e828da84627ff894318655c1c 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -30,6 +30,8 @@ public: |
GrGpuGL(const GrGLContext& ctx, GrContext* context); |
virtual ~GrGpuGL(); |
+ virtual void contextAbandonded() SK_OVERRIDE; |
+ |
const GrGLContext& glContext() const { return fGLContext; } |
const GrGLInterface* glInterface() const { return fGLContext.interface(); } |
@@ -75,8 +77,6 @@ public: |
virtual void initCopySurfaceDstDesc(const GrSurface* src, GrTextureDesc* desc) SK_OVERRIDE; |
- virtual void abandonResources() SK_OVERRIDE; |
- |
// These functions should be used to bind GL objects. They track the GL state and skip redundant |
// bindings. Making the equivalent glBind calls directly will confuse the state tracking. |
void bindVertexArray(GrGLuint id) { |