Move from a generalized appendGlyph to two specialized methods.

* appendTransformedGlyph - The glyph is transformed in the cache, and no
additional transforms are needed to draw to the screen.

* appendUprightGlyph - The glyph sits upright in the cache, and needs to be
transformed to the screen.

Both these share common code maybeSwitchSubRunAndAppendGlyph, which appends
a glyph to the sub run making sure to switch sub runs if the format has changed.

Change-Id: Ifb222d6519ede6fc08bc6ec29861a434bd7a3b55
Reviewed-on: https://skia-review.googlesource.com/c/179380
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Herb Derby <herb@google.com>
3 files changed