From c7ca38f1d57e96decc6dd7fc6c8c0d5f2ac966a5 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Thu, 5 May 2022 03:02:34 +0800 Subject: [PATCH] fix(config): add LV_LAYER_SIMPLE_BUF_SIZE to Kconfig (#3312) * fix(config): add LV_LAYER_SIMPLE_BUF_SIZE to Kconfig Signed-off-by: Xiang Xiao * fix(config): remove LV_USE_EXTERNAL_RENDERER which is unused anymore Signed-off-by: Xiang Xiao --- Kconfig | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Kconfig b/Kconfig index 276f1e0b26..76c6d5e61d 100644 --- a/Kconfig +++ b/Kconfig @@ -156,6 +156,15 @@ menu "LVGL configuration" radiuses are saved). Set to 0 to disable caching. + config LV_LAYER_SIMPLE_BUF_SIZE + int "Optimal size to buffer the widget with opacity" + default 24576 + help + "Simple layers" are used when a widget has `style_opa < 255` + to buffer the widget into a layer and blend it as an image + with the given opacity. Note that `bg_opa`, `text_opa` etc + don't require buffering into layer. + config LV_IMG_CACHE_DEF_SIZE int "Default image cache size. 0 to disable caching." default 0 @@ -205,9 +214,6 @@ menu "LVGL configuration" endmenu menu "GPU" - config LV_USE_EXTERNAL_RENDERER - bool - config LV_USE_GPU_ARM2D bool "Enable Arm's 2D image processing library (Arm-2D) for all Cortex-M processors." default n @@ -254,7 +260,6 @@ menu "LVGL configuration" config LV_USE_GPU_SDL bool "Use SDL renderer API" - select LV_USE_EXTERNAL_RENDERER default n config LV_GPU_SDL_INCLUDE_PATH string "include path of SDL header"