Move glyph cache manager into font-client-plugin-cache-handler 02/283802/5
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 3 Nov 2022 05:50:30 +0000 (14:50 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 3 Nov 2022 10:04:41 +0000 (19:04 +0900)
commitb2af884e8948c27b793edbcd566d8eab42cbc6e0
tree2c69186476d090f1171bece23115dea1f1114dba
parent710a932acbde35cfcfad41fe3f7c225021258c32
Move glyph cache manager into font-client-plugin-cache-handler

Currently, glyph cache manager owned by each font-face-cache-item.
That mean, we can hold glyph cache as
{The number of font type} x {The number of font size} x 128(default).

This patch make we hold GlyphCacheManager hold as singletone.
So we can cache the glyph maximum 128(default) not relative with
the number of font type & size.

Change-Id: I85e3cec3d160a57496e839f0b87a24655861f981
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/text/text-abstraction/plugin/font-client-plugin-cache-handler.cpp
dali/internal/text/text-abstraction/plugin/font-client-plugin-cache-handler.h
dali/internal/text/text-abstraction/plugin/font-client-plugin-impl.cpp
dali/internal/text/text-abstraction/plugin/font-face-cache-item.cpp
dali/internal/text/text-abstraction/plugin/font-face-cache-item.h
dali/internal/text/text-abstraction/plugin/font-face-glyph-cache-manager.cpp
dali/internal/text/text-abstraction/plugin/font-face-glyph-cache-manager.h
dali/internal/text/text-abstraction/plugin/harfbuzz-proxy-font.cpp
dali/internal/text/text-abstraction/plugin/lru-cache-container.h