diff options
author | cdalton <cdalton@nvidia.com> | 2014-09-18 13:51:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-18 13:51:53 -0700 |
commit | 855d83ff79c6c822b2ad653f2f890178ad0f637b (patch) | |
tree | 8b48ca606e25d3a02ce9de8018ae33ad86c58b53 /src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp | |
parent | abfaf63bd0331fb8f20b7ef47b384fcb39418669 (diff) |
Uses 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
R=bsalomon@google.com, jvanverth@google.com
Author: cdalton@nvidia.com
Review URL: https://codereview.chromium.org/563283004
Diffstat (limited to 'src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp')
0 files changed, 0 insertions, 0 deletions