From 99818408cac253a88fb676ba25bf6f76cf79cbf4 Mon Sep 17 00:00:00 2001 From: _VIFEXTech Date: Tue, 9 Jan 2024 18:52:30 +0800 Subject: [PATCH] chore(conf): remove LV_DISPLAY_ROT_MAX_BUF (#5239) Signed-off-by: pengyiqiang Co-authored-by: pengyiqiang --- .devcontainer/__lv_conf.h__ | 4 ---- Kconfig | 7 ------- env_support/cmsis-pack/lv_conf_cmsis.h | 4 ---- lv_conf_template.h | 4 ---- src/lv_conf_internal.h | 10 ---------- 5 files changed, 29 deletions(-) diff --git a/.devcontainer/__lv_conf.h__ b/.devcontainer/__lv_conf.h__ index a2baa1cc34..c4f048348b 100644 --- a/.devcontainer/__lv_conf.h__ +++ b/.devcontainer/__lv_conf.h__ @@ -241,10 +241,6 @@ * Others *-----------*/ -/*Maximum buffer size to allocate for rotation. - *Only used if software rotation is enabled in the display driver.*/ -#define LV_DISPLAY_ROT_MAX_BUF (10*1024) - #define LV_ENABLE_GLOBAL_CUSTOM 0 #if LV_ENABLE_GLOBAL_CUSTOM /*Header to include for the custom 'lv_global' function"*/ diff --git a/Kconfig b/Kconfig index 3cf58a41ed..0bb8187e0d 100644 --- a/Kconfig +++ b/Kconfig @@ -302,13 +302,6 @@ menu "LVGL configuration" Error diffusion dithering gets a much better visual result, but implies more CPU consumption and memory when drawing. The increase in memory consumption is (24 bits * object's width) - config LV_DISPLAY_ROT_MAX_BUF - int "Maximum buffer size to allocate for rotation" - default 10240 - depends on LV_USE_DRAW_SW - help - Only used if software rotation is enabled in the display driver. - config LV_USE_VECTOR_GRAPHIC bool "Use Vector Graphic APIs" default n diff --git a/env_support/cmsis-pack/lv_conf_cmsis.h b/env_support/cmsis-pack/lv_conf_cmsis.h index 329beaa31a..59621573e9 100644 --- a/env_support/cmsis-pack/lv_conf_cmsis.h +++ b/env_support/cmsis-pack/lv_conf_cmsis.h @@ -242,10 +242,6 @@ * Others *-----------*/ -/*Maximum buffer size to allocate for rotation. - *Only used if software rotation is enabled in the display driver.*/ -#define LV_DISPLAY_ROT_MAX_BUF (10*1024) - #define LV_ENABLE_GLOBAL_CUSTOM 0 #if LV_ENABLE_GLOBAL_CUSTOM /*Header to include for the custom 'lv_global' function"*/ diff --git a/lv_conf_template.h b/lv_conf_template.h index 5ff9638894..3894e44d86 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -262,10 +262,6 @@ * Others *-----------*/ -/*Maximum buffer size to allocate for rotation. - *Only used if software rotation is enabled in the display driver.*/ -#define LV_DISPLAY_ROT_MAX_BUF (10*1024) - #define LV_ENABLE_GLOBAL_CUSTOM 0 #if LV_ENABLE_GLOBAL_CUSTOM /*Header to include for the custom 'lv_global' function"*/ diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index 37f0e08967..c3ea48a497 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -746,16 +746,6 @@ * Others *-----------*/ -/*Maximum buffer size to allocate for rotation. - *Only used if software rotation is enabled in the display driver.*/ -#ifndef LV_DISPLAY_ROT_MAX_BUF - #ifdef CONFIG_LV_DISPLAY_ROT_MAX_BUF - #define LV_DISPLAY_ROT_MAX_BUF CONFIG_LV_DISPLAY_ROT_MAX_BUF - #else - #define LV_DISPLAY_ROT_MAX_BUF (10*1024) - #endif -#endif - #ifndef LV_ENABLE_GLOBAL_CUSTOM #ifdef CONFIG_LV_ENABLE_GLOBAL_CUSTOM #define LV_ENABLE_GLOBAL_CUSTOM CONFIG_LV_ENABLE_GLOBAL_CUSTOM