Add purgeAsNeeded calls before addResource calls
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Jul 2013 17:11:45 +0000 (17:11 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Jul 2013 17:11:45 +0000 (17:11 +0000)
commit1622a6d950a4a1deb13048210bdb78d952375f05
tree0a34cb1fae624932322f3ac11234b911898a7d7f
parentc9683151367b2033a26b1e2ebe6b3902d2064bdb
Add purgeAsNeeded calls before addResource calls

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

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