DescriptionAdd SkMiniData.
This is a bit like a limited SkData, geared to store really tiny byte strings.
This is not hooked up anywhere beyond the new unit test. I did experimentally
plumb it into SkRecord for drawPosTextH: just over 40% of drawPosTextH calls in
our repo can fit into ShortData.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/6a5c7085bcebe263ac43486f1825407580662924
Patch Set 1 #Patch Set 2 : endian #Patch Set 3 : narrowing #Patch Set 4 : MSVC doesn't like uint8_t data[0]. #
Messages
Total messages: 9 (3 generated)
|