d19bb17782
Creating an hb_face can be quite expensive, cache them. This implementation is similar to the super simple caching strategy used by libtxt. It uses a simple global LRU cache from SkFontID to hb_hbface of size 100. Change-Id: I364a4548699cece50073e829a065c0a303245873 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289442 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Mike Reed <reed@google.com> |
||
---|---|---|
.. | ||
include | ||
src | ||
BUILD.gn | ||
skshaper.gni |