Description: config defaultmax cahce entry num

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I61RUK
Feature or Bugfix: Bugfix
Binary Source:No
Signed-off-by: zhouyj <zhouyuanjie1@huawei.com>
This commit is contained in:
Zhouyj_zju
2022-11-17 21:20:19 +08:00
parent 60d462761f
commit b3680d93b0
+4
View File
@@ -422,6 +422,10 @@ static constexpr uint8_t MAX_FONT_SEARCH_NUM = 26;
#define DEFAULT_LINE_BREAK_RULE_FILENAME "line_cj.brk"
#endif
#ifndef DEFAULT_MAX_CACHE_ENTRY_NUM
#define DEFAULT_MAX_CACHE_ENTRY_NUM 64
#endif // DEFAULT_MAX_CACHE_ENTRY_NUM
/* Defines some configurations and their default values on LiteOS and other system platforms. */
#ifdef __LITEOS_M__