skia2/modules
Julia Lavrova b7b0b3ad53 Paragraph cache: caching the shaped results only.
That makes layout phase 10 times faster (since the shaping takes 90% of it).

LRU cache is attached to the FontCollection object and has the same life time.
Currently it has hardcoded limit on the entry numbers (128).
One the number reached, the least recently used element is removed from the cache
to free the space for a new one.

Change-Id: I597e334422614e33715d7a9ed13acf7b1f9cd0e4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/230755
Commit-Queue: Julia Lavrova <jlavrova@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Reviewed-by: Julia Lavrova <jlavrova@google.com>
2019-08-09 16:51:41 +00:00
..
canvaskit Allow compilation without embedded font but with font manager 2019-08-06 19:53:30 +00:00
particles Finish and document particle public API 2019-07-29 13:30:26 +00:00
pathkit rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
skottie Reland "[skottie] Add onTextProperty support into PropertyObserver." 2019-08-06 13:50:41 +00:00
skparagraph Paragraph cache: caching the shaped results only. 2019-08-09 16:51:41 +00:00
sksg Update skottie/sksg to use new filter factories 2019-08-02 14:51:42 +00:00
skshaper Allow HarfBuzz to massage the character stream. 2019-07-31 19:54:36 +00:00