commit | ff17584e1c15f68ccc296be517e8a6776a9ddabd | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 14 19:31:39 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 14 19:31:39 2012 +0000 |
tree | 958bba76565d9a81b6034a9ce5852c821938631f | |
parent | 706f6212c60dd8861a0ae922a77c455a08360aa3 [diff] [blame] |
Attached ClipMaskManager to GPU resource freeing system http://codereview.appspot.com/6208058/ git-svn-id: http://skia.googlecode.com/svn/trunk@3927 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 8d5b88f..aaf2ae4 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp
@@ -110,6 +110,9 @@ void GrContext::freeGpuResources() { this->flush(); + + fGpu->purgeResources(); + fTextureCache->removeAll(); fFontCache->freeAll(); // a path renderer may be holding onto resources