diff options
author | Jim Van Verth <jvanverth@google.com> | 2018-02-08 16:14:48 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-08 22:42:40 +0000 |
commit | 54d9c889fb6aca043a7b005d61de4e0e65a3ae53 (patch) | |
tree | d19bd15855296d86798d8b103c297d7f872fc330 /gm/glyph_pos.cpp | |
parent | 6ba15ecb1cdd75f57abae8eeece7886aa8f28832 (diff) |
Cleanup of large text rendering, take 2.
* Switch all path glyphs to be rendered as part of the fBigGlyphs
(now fPathGlyphs) system
* Use one flush command for both cached and throwaway blobs
* Store and render path glyphs per run rather than one list for the
entire blob (fixes a layering bug)
* Fix bug with scaled fallback glyphs, where fallback glyphs were
trying to use more than one descriptor
* Set paint flags correctly for paths
Bug: skia:7562
Change-Id: I9455eda2867860a713fbdbbda79c74109e95f9f2
Reviewed-on: https://skia-review.googlesource.com/105020
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'gm/glyph_pos.cpp')
-rw-r--r-- | gm/glyph_pos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/glyph_pos.cpp b/gm/glyph_pos.cpp index cfc318d4b4..ff2a432f8a 100644 --- a/gm/glyph_pos.cpp +++ b/gm/glyph_pos.cpp @@ -26,7 +26,7 @@ static void drawTestCase(SkCanvas* canvas, static void draw_gm(SkCanvas* canvas, SkScalar strokeWidth, SkPaint::Style strokeStyle) { - // There's a black pixel at 40, 40 for reference. + // There's a black pixel at 40, 40 for reference. canvas->drawPoint(40, 40, SkPaint()); // Two reference images. |