feat(cache): new cache framework (#5049)

Co-authored-by: _VIFEXTech <vifextech@foxmail.com>
This commit is contained in:
Benign X
2023-12-25 11:37:59 +08:00
committed by GitHub
parent 929bfdab33
commit a34f490394
47 changed files with 1924 additions and 1637 deletions

View File

@@ -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);
}
/**********************