diff options
author | 2014-07-29 08:01:52 -0700 | |
---|---|---|
committer | 2014-07-29 08:01:52 -0700 | |
commit | 944bcf0acb78f8f9da01e991f1307629959e338a (patch) | |
tree | 9d56b2135580afe730789576b7817877746d384f /src/gpu/gl/debug/SkDebugGLContext.cpp | |
parent | e6dfba868c19b00562f8c733b9bf37dd4ec9e68c (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 'src/gpu/gl/debug/SkDebugGLContext.cpp')
-rw-r--r-- | src/gpu/gl/debug/SkDebugGLContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/debug/SkDebugGLContext.cpp b/src/gpu/gl/debug/SkDebugGLContext.cpp index 93c0b30b8b..8ea546699c 100644 --- a/src/gpu/gl/debug/SkDebugGLContext.cpp +++ b/src/gpu/gl/debug/SkDebugGLContext.cpp @@ -14,4 +14,4 @@ const GrGLInterface* SkDebugGLContext::createGLContext(GrGLStandard forcedGpuAPI } return GrGLCreateDebugInterface(); -}; +} |