diff options
author | Torne (Richard Coles) <torne@google.com> | 2013-10-11 11:38:28 +0100 |
---|---|---|
committer | Torne (Richard Coles) <torne@google.com> | 2013-10-11 11:38:28 +0100 |
commit | 53a521c76400a3e6d64dc96396390b746ec1e48e (patch) | |
tree | bfd8e692b73dee4749734ca317b4707988dfae3a | |
parent | 60bb96191d0be18f5ca42b714ba862aff03a5807 (diff) | |
parent | 1d82fd1d5605e3b0dd4db6ea4251631af0ceb3a1 (diff) | |
download | src-kitkat-cts-dev.tar.gz |
Merge from Chromium at DEPS revision 30.0.1599.101android-sdk-4.4.2_r1.0.1android-sdk-4.4.2_r1android-cts-4.4_r4android-cts-4.4_r1android-4.4_r1.2.0.1android-4.4_r1.2android-4.4_r1.1.0.1android-4.4_r1.1android-4.4_r1.0.1android-4.4_r1android-4.4_r0.9android-4.4.2_r2.0.1android-4.4.2_r2android-4.4.2_r1.0.1android-4.4.2_r1android-4.4.1_r1.0.1android-4.4.1_r1kitkat-releasekitkat-mr1.1-releasekitkat-mr1-releasekitkat-cts-releasekitkat-cts-dev
This commit was generated by merge_to_master.py.
Change-Id: I3349611c58937bf63f99e9d8c0c44ea74618fac5
-rw-r--r-- | gpu/GrTextContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/GrTextContext.cpp b/gpu/GrTextContext.cpp index 8f0f1cfd..5a2c315b 100644 --- a/gpu/GrTextContext.cpp +++ b/gpu/GrTextContext.cpp @@ -152,13 +152,13 @@ void GrTextContext::drawPackedGlyph(GrGlyph::PackedID packed, if (fStrike->getGlyphAtlas(glyph, scaler)) { goto HAS_ATLAS; } - +#if 0 // M30 specific revert of font cache improvement to fix https://code.google.com/p/chromium/issues/detail?id=303803 // try to clear out an unused atlas before we flush fContext->getFontCache()->freeAtlasExceptFor(fStrike); if (fStrike->getGlyphAtlas(glyph, scaler)) { goto HAS_ATLAS; } - +#endif // before we purge the cache, we must flush any accumulated draws this->flushGlyphs(); fContext->flush(); |