skia2/modules/skshaper
Ben Wagner 4651b99f32 Reland "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.

Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289442
Change-Id: I971620f7aaaf2d7b6902da8681e29d6d458429ed
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/290761
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-05-19 17:42:14 +00:00
..
include Reland "Fix skshaper in component builds" 2020-01-30 18:57:16 +00:00
src Reland "Cache hb_face." 2020-05-19 17:42:14 +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