feat(cache): new cache framework (#5049)
Co-authored-by: _VIFEXTech <vifextech@foxmail.com>
This commit is contained in:
@@ -62,9 +62,7 @@ void lv_draw_vg_lite_layer(lv_draw_unit_t * draw_unit, const lv_draw_image_dsc_t
|
||||
new_draw_dsc.src = &img_dsc;
|
||||
|
||||
lv_draw_vg_lite_img(draw_unit, &new_draw_dsc, coords);
|
||||
lv_cache_lock();
|
||||
lv_cache_invalidate_by_src(&img_dsc, LV_CACHE_SRC_TYPE_POINTER);
|
||||
lv_cache_unlock();
|
||||
lv_image_cache_invalidate(&img_dsc);
|
||||
}
|
||||
|
||||
/**********************
|
||||
|
||||
Reference in New Issue
Block a user