Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / src / gpu / gl / debug / GrGLCreateDebugInterface.cpp
index 7c430b4..0279427 100644 (file)
@@ -796,6 +796,10 @@ public:
         fWrapped.reset(interface);
     }
 
+    virtual void abandon() const SK_OVERRIDE {
+        GrDebugGL::abandon();
+    }
+
     // TODO: there are some issues w/ wrapping another GL interface inside the
     // debug interface:
     //      Since none of the "gl" methods are member functions they don't get
@@ -855,6 +859,7 @@ const GrGLInterface* GrGLCreateDebugInterface() {
     functions->fColorMask = noOpGLColorMask;
     functions->fCompileShader = noOpGLCompileShader;
     functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D;
+    functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D;
     functions->fCopyTexSubImage2D = noOpGLCopyTexSubImage2D;
     functions->fCreateProgram = debugGLCreateProgram;
     functions->fCreateShader = debugGLCreateShader;