aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl/SkDebugGLContext.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-07-29 08:01:52 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-29 08:01:52 -0700
commit944bcf0acb78f8f9da01e991f1307629959e338a (patch)
tree9d56b2135580afe730789576b7817877746d384f /include/gpu/gl/SkDebugGLContext.h
parente6dfba868c19b00562f8c733b9bf37dd4ec9e68c (diff)
Some fixes around GrContext::abandonContext:
Fix debug crash when GrResourceCache is destroyed after GrContext is abandoned while GrTextures are in the exlusive list. Notify debug GL context that GL resources are expected to remain undeleted when context is destroyed after being abandoned. Stop leaking program cache entries when context is abandoned. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/422323002
Diffstat (limited to 'include/gpu/gl/SkDebugGLContext.h')
-rw-r--r--include/gpu/gl/SkDebugGLContext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gpu/gl/SkDebugGLContext.h b/include/gpu/gl/SkDebugGLContext.h
index 9318cb455f..7db9579617 100644
--- a/include/gpu/gl/SkDebugGLContext.h
+++ b/include/gpu/gl/SkDebugGLContext.h
@@ -13,10 +13,10 @@
class SkDebugGLContext : public SkGLContextHelper {
public:
- SkDebugGLContext() {};
+ SkDebugGLContext() {}
- virtual void makeCurrent() const SK_OVERRIDE {};
- virtual void swapBuffers() const SK_OVERRIDE {};
+ virtual void makeCurrent() const SK_OVERRIDE {}
+ virtual void swapBuffers() const SK_OVERRIDE {}
protected:
virtual const GrGLInterface* createGLContext(GrGLStandard forcedGpuAPI) SK_OVERRIDE;