diff options
author | 2017-07-06 16:36:55 -0400 | |
---|---|---|
committer | 2017-07-06 21:24:17 +0000 | |
commit | 90e89b366a7dc90111c861ba76c492ce1743a0d1 (patch) | |
tree | fe2c43e52dc3d811669b107f5124c39c4acb0e72 /src/gpu/GrSurfaceProxyPriv.h | |
parent | 24a2ecfa256042efd57fd97b23dbce5a49b92a94 (diff) |
Add proper aliased support for SDF text
Previously, when asked to render aliased text with distance fields,
we would get the aliased glyph from the cache and then try to
anti-alias the edge. This change instead grabs the anti-aliased glyph,
then deliberately aliases the edge.
Bug: chromium:707979
Change-Id: I05766af17d7ae58bca27aaffd9e08e5c586e789c
Reviewed-on: https://skia-review.googlesource.com/21728
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrSurfaceProxyPriv.h')
0 files changed, 0 insertions, 0 deletions