DescriptionRemove 1d glyph positions from nvpr text
Removes the case for x-only glyph positions from nvpr text, opting to
always send 2d glyph positions instead. The 1d glyph positions saved a
bit on memory bandwidth, but ended up a net loss because they required
more updates to the view matrix. Now we can draw an entire paragraph
without touching the GL state, whereas before we would have to update
the view matrix at every new line.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/38e13adc18555f8e75f5ae6762e7c307214ae37f
Patch Set 1 #Patch Set 2 : Formatting #
Total comments: 1
Messages
Total messages: 6 (2 generated)
|