feat(draw): add vg-lite draw unit (#5010)

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech
2023-12-18 21:17:42 +08:00
committed by GitHub
parent b172c64a8c
commit 9fc6801860
29 changed files with 5155 additions and 0 deletions

View File

@@ -38,6 +38,9 @@
#if LV_USE_DRAW_SDL
#include "draw/sdl/lv_draw_sdl.h"
#endif
#if LV_USE_DRAW_VG_LITE
#include "draw/vg_lite/lv_draw_vg_lite.h"
#endif
/*********************
* DEFINES
@@ -192,6 +195,10 @@ void lv_init(void)
_lv_image_decoder_init();
lv_bin_decoder_init(); /*LVGL built-in binary image decoder*/
#if LV_USE_DRAW_VG_LITE
lv_draw_vg_lite_init();
#endif
_lv_cache_init();
_lv_cache_builtin_init();
lv_cache_lock();
@@ -357,6 +364,10 @@ void lv_deinit(void)
lv_draw_vglite_deinit();
#endif
#if LV_USE_DRAW_VG_LITE
lv_draw_vg_lite_deinit();
#endif
#if LV_USE_DRAW_SW
lv_draw_sw_deinit();
#endif