The rest of: Add purgeAsNeeded calls before addResource calls
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Jul 2013 17:12:57 +0000 (17:12 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Jul 2013 17:12:57 +0000 (17:12 +0000)
commit41d2532931a2e85b56ae112047d57927cb09ef6f
tree3247c8b04f9f19cbabdeb9f1e24e6b1ce581fbc4
parent1622a6d950a4a1deb13048210bdb78d952375f05
The rest of: Add purgeAsNeeded calls before addResource calls

https://codereview.chromium.org/19591003/

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