diff options
author | Seigo Nonaka <nona@google.com> | 2015-09-17 17:12:13 +0900 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2015-09-30 17:36:44 +0900 |
commit | fb0d396929e534a3686469b474d4f670864aa5ac (patch) | |
tree | a855d93f01a7310f114cd549c017eed9883805c5 /libs/minikin/Android.mk | |
parent | 2ea397d74c8eef014fa32e32d14ffbd4a0344c98 (diff) | |
download | android_frameworks_minikin-fb0d396929e534a3686469b474d4f670864aa5ac.tar.gz android_frameworks_minikin-fb0d396929e534a3686469b474d4f670864aa5ac.tar.bz2 android_frameworks_minikin-fb0d396929e534a3686469b474d4f670864aa5ac.zip |
Extract hb_face_t object cache mechanism from Layout.cpp.
This CL does following things:
- Extract hb_face_t object cache mechanism from Layout.cpp to be able to
use it from other cpp file, especially from FontFamily.cpp.
To address Bug 11256006 and Bug 17759267, need to touch
hb_face_t from FontFamily.
- Make hb_face_t cache mechanism thread-safe.
- Add unit tests for HbFaceCache test cases.
Bug: 11256006
Bug: 17759267
Change-Id: Ic183634ef34326793bd9a32167236611d0af34d6
Diffstat (limited to 'libs/minikin/Android.mk')
-rw-r--r-- | libs/minikin/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/minikin/Android.mk b/libs/minikin/Android.mk index 765a3dd..fab5586 100644 --- a/libs/minikin/Android.mk +++ b/libs/minikin/Android.mk @@ -22,6 +22,7 @@ minikin_src_files := \ FontCollection.cpp \ FontFamily.cpp \ GraphemeBreak.cpp \ + HbFaceCache.cpp \ Hyphenator.cpp \ Layout.cpp \ LayoutUtils.cpp \ |