flush inorder drawtarget (i.e. flushText) before we purge the atlas/cache
git-svn-id: http://skia.googlecode.com/svn/trunk@651 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
88b019bc77
commit
313e403583
@ -137,6 +137,9 @@ void GrTextContext::drawPackedGlyph(GrGlyph::PackedID packed,
|
||||
if (fStrike->getGlyphAtlas(glyph, scaler)) {
|
||||
goto HAS_ATLAS;
|
||||
}
|
||||
// must do this to flush inorder buffering before we purge
|
||||
fContext->flushText();
|
||||
|
||||
// try to purge
|
||||
fContext->getFontCache()->purgeExceptFor(fStrike);
|
||||
if (fStrike->getGlyphAtlas(glyph, scaler)) {
|
||||
|
Loading…
Reference in New Issue
Block a user