commit | 0db6dfaeb2d1376ad393516fb22af7ecf62718fa | [log] [tgz] |
---|---|---|
author | joshualitt <joshualitt@chromium.org> | Fri Apr 10 07:01:30 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Apr 10 07:01:30 2015 -0700 |
tree | bb4e19cebcedf94b9abd455c637712e5544beaa3 | |
parent | c5e0891029bed0f9619d67281a81f13983a9687b [diff] |
The TextBlobCache needs the ability to trigger a flush because otherwise its entire budget can be used up, but it will not be able to free up any space due to blobs being stuck in the GrInOrderDrawBuffer. This was causing a segfault. After this CL the cache will try to purge, and then flush if it cannot purge enough. It will not purge the most recent addition to the cache. TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1071333002