[Tizen] Move glyph cache manager into font-client-plugin-cache-handler 87/284987/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 3 Nov 2022 05:50:30 +0000 (14:50 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 2 Dec 2022 06:08:22 +0000 (15:08 +0900)
commit91e2a8bbf7448c4f44afb6e5daef50b04a7c6852
tree0f8bfba70f847045d852131c6ca6753192081335
parent06a7e9a6b4f4b38cc71ee34aba1228fd531f20a2
[Tizen] 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