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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user