skia2/modules/skshaper
Ben Wagner d19bb17782 Cache hb_face.
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>
2020-05-18 20:18:07 +00:00
..
include Reland "Fix skshaper in component builds" 2020-01-30 18:57:16 +00:00
src Cache hb_face. 2020-05-18 20:18:07 +00:00
BUILD.gn reformat GN files 2020-04-01 23:23:03 +00:00
skshaper.gni harmonize rewrite-includes and gn-format checks 2020-04-03 17:00:54 +00:00