Move glyph choosing to the find and place glyph code.
authorherb <herb@google.com>
Fri, 20 Nov 2015 21:53:12 +0000 (13:53 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Nov 2015 21:53:12 +0000 (13:53 -0800)
commit4c11b3f8a2d9919a21110dbdd29e67e5cbaa41fb
tree1f0bd98bddca74031eeb4657266d5ecf7a5bab9e
parent9b137dc54e668ca5552bab8a1c550edc02214db4
Move glyph choosing to the find and place glyph code.

This duplicates the functionality of the (private)
SkPaint::getDrawCacheProc method into
SkFindAndPlaceGlyph::LookupGlyph. Eventually LookupGlyph
should replace getDrawCacheProc, at which point it should be
removed. The remaining users are gpu and pdf.

Review URL: https://codereview.chromium.org/1458193003
src/core/SkDraw.cpp
src/core/SkFindAndPlaceGlyph.h
src/gpu/GrAtlasTextContext.cpp