DescriptionAllocate only the vertices we need for text.
This restructures the vertex allocation for text rendering to compute
the max number of vertices we would need for a line of text, and then
only allocate that much. If this number exceeds the quad index limit,
then it will allocate for the max number of quads, and reallocate for
the rest later.
Committed: https://skia.googlesource.com/skia/+/73f105345066b1f22f15ba6575cb3800dd9313b8
Patch Set 1 #Patch Set 2 : Don't force distance fields #
Total comments: 6
Patch Set 3 : Address comments #
Messages
Total messages: 12 (3 generated)
|