feat(draw): add global matrix drawing modes (#4883)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com> Signed-off-by: wangxuedong <wangxuedong@xiaomi.com> Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com> Co-authored-by: wangxuedong <wangxuedong@xiaomi.com>
This commit is contained in:
15
Kconfig
15
Kconfig
@@ -177,6 +177,13 @@ menu "LVGL configuration"
|
||||
help
|
||||
Align the start address of draw_buf addresses to this bytes.
|
||||
|
||||
config LV_DRAW_TRANSFORM_USE_MATRIX
|
||||
bool "Using matrix for transformations"
|
||||
default n
|
||||
depends on LV_USE_MATRIX
|
||||
help
|
||||
Requirements: The rendering engine needs to support 3x3 matrix transformations.
|
||||
|
||||
config LV_DRAW_LAYER_SIMPLE_BUF_SIZE
|
||||
int "Optimal size to buffer the widget with opacity"
|
||||
default 24576
|
||||
@@ -372,6 +379,8 @@ menu "LVGL configuration"
|
||||
|
||||
config LV_USE_DRAW_VG_LITE
|
||||
bool "Use VG-Lite GPU"
|
||||
default n
|
||||
select LV_USE_MATRIX
|
||||
|
||||
config LV_VG_LITE_USE_GPU_INIT
|
||||
bool "Enable VG-Lite custom external 'gpu_init()' function"
|
||||
@@ -415,6 +424,7 @@ menu "LVGL configuration"
|
||||
config LV_USE_VECTOR_GRAPHIC
|
||||
bool "Use Vector Graphic APIs"
|
||||
default n
|
||||
select LV_USE_MATRIX
|
||||
help
|
||||
Enable drawing support vector graphic APIs.
|
||||
endmenu
|
||||
@@ -696,6 +706,11 @@ menu "LVGL configuration"
|
||||
config LV_USE_FLOAT
|
||||
bool "Use float as lv_value_precise_t"
|
||||
default n
|
||||
|
||||
config LV_USE_MATRIX
|
||||
bool "Enable matrix support"
|
||||
default n
|
||||
select LV_USE_FLOAT
|
||||
endmenu
|
||||
|
||||
menu "Font Usage"
|
||||
|
||||
Reference in New Issue
Block a user