Adding bulk plot reffer to cached textblobs
authorjoshualitt <joshualitt@chromium.org>
Wed, 8 Apr 2015 15:07:59 +0000 (08:07 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Apr 2015 15:07:59 +0000 (08:07 -0700)
commitb4c507e03386f2105e33f0c4c09b4a9d0a23196d
tree832d11c9102cbfc9b7aa09c8ebc1ff50afad80cd
parent693e9930571929cbdc83f1e678b151a768c1bad8
Adding bulk plot reffer to cached textblobs

This change will prevent the atlas from evicting glyphs the TextBlob
needs.

BUG=skia:

Committed: https://skia.googlesource.com/skia/+/7281c61e7bc689d484dcbda49be3cef4ce4f11c2

Review URL: https://codereview.chromium.org/1050113004
src/gpu/GrAADistanceFieldPathRenderer.cpp
src/gpu/GrAtlasTextContext.cpp
src/gpu/GrAtlasTextContext.h
src/gpu/GrBatchAtlas.cpp
src/gpu/GrBatchAtlas.h
src/gpu/GrBatchFontCache.cpp
src/gpu/GrBatchFontCache.h