feat(draw): add draw thread stack size config option (#5910)

Signed-off-by: lijianjun <lijianjun@xiaomi.com>
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
Co-authored-by: lijianjun <lijianjun@xiaomi.com>
Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
lion2tomato
2024-03-22 10:06:27 +08:00
committed by GitHub
parent f37aebf332
commit 21dd110e63
7 changed files with 24 additions and 3 deletions

View File

@@ -340,6 +340,7 @@ foreach( test_case_fname ${TEST_CASE_FILES} )
${LIBINPUT_LIBRARIES}
${JPEG_LIBRARIES}
m
pthread
${TEST_LIBS})
target_include_directories(${test_name} PUBLIC ${TEST_INCLUDE_DIRS})
target_compile_options(${test_name} PUBLIC ${LVGL_TESTFILE_COMPILE_OPTIONS})

View File

@@ -1,5 +1,6 @@
#define LV_MEM_SIZE (32 * 1024 * 1024)
#define LV_DRAW_SW_SHADOW_CACHE_SIZE 8
#define LV_DRAW_THREAD_STACKSIZE (128 * 1024) /*Increase stack size to 128kB in order to run Thorvg*/
#define LV_USE_LOG 1
#define LV_LOG_LEVEL LV_LOG_LEVEL_TRACE
#define LV_LOG_PRINTF 1