Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index b39aedb82417f273e552c7adf53dbf463eb207ab..92702193c5b631862892e61d1584fbe06717c6a3 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -31,6 +31,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(); } |
@@ -83,8 +85,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) { |