DescriptionThe 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:
Committed: https://skia.googlesource.com/skia/+/0db6dfaeb2d1376ad393516fb22af7ecf62718fa
Patch Set 1 #Patch Set 2 : fix cache budget #
Total comments: 2
Patch Set 3 : feedback inc #
Messages
Total messages: 17 (9 generated)
|