DescriptionUses a single pre-baked set of paths for drawing nvpr text of a given
typeface. Loads the paths using the driver's glyph loading routines.
Refactors GrPathRange to accept a PathGenerator class that it uses to
lazily initialize its paths. The client code is no longer expected to
initialize the paths in a GrPathRange; instead it must provide a
PathGenerator* instance to createPathRange().
Adds a new createGlyphs() method to GrPathRendering that creates a
range of glyph paths, indexed by glyph id. GrPathRendering implements
createGlyphs() with a PathGenerator that loads glyph paths using the
skia frameworks. GrGLPathRendering uses glMemoryGlyphIndexArrayNV()
instead, when possible, to load the glyph paths.
Removes all GlyphPathRange logic from GrStencilAndCoverTextContext.
It instead uses createGlyphs().
BUG=skia:2939
Committed: https://skia.googlesource.com/skia/+/855d83ff79c6c822b2ad653f2f890178ad0f637b
Patch Set 1 #
Total comments: 8
Patch Set 2 : Respond to commentswq #Patch Set 3 : Touch up fake bold stroking #
Total comments: 2
Patch Set 4 : Requested comments #Patch Set 5 : Fix builds #
Messages
Total messages: 17 (6 generated)
|