Remove incorrect GrAssert calls in GrResourceCache::removeAll
authortwiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 21 Feb 2012 19:15:53 +0000 (19:15 +0000)
committertwiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 21 Feb 2012 19:15:53 +0000 (19:15 +0000)
commit0ec107f396a566bac2a7787b982a76c9c27c0d2f
tree7970f0db17570f277a8e497c76b4868a7b17d86b
parentb9682d38c1daa597c4acffd93cbd5ba72735a613
Remove incorrect GrAssert calls in GrResourceCache::removeAll

The asserts in GrResourceCache are too aggressive, and assume that all resources are always purged.  Locked resources will not be purged.

BUG=114861
Review URL: https://codereview.appspot.com/5674096

git-svn-id: http://skia.googlecode.com/svn/trunk@3226 2bbb7eff-a529-9590-31e7-b0007b416f81
src/gpu/GrResourceCache.cpp