Commit Graph

18 Commits

Author SHA1 Message Date
Neo Xu
755810bf8e feat(bin_decoder): post process decoded image to fulfill decoder's args (#5082)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-22 21:49:42 +01:00
Neo Xu
08803f9a11 refactor(drawbuf): eliminate clear/copy buffer callbacks (#5052)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 11:55:59 +01:00
Neo Xu
29f04f5443 chore: rename _unaligned to avoid MSVC compile issue (#5028)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 11:55:31 +01:00
Neo Xu
db905eec15 feat(draw_buf): remove legacy lv_draw_buf_go_to_xy (#5035)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 13:34:44 +01:00
Gabor Kiss-Vamosi
d5daccdd48 docs: update API comments 2023-12-13 22:23:03 +01:00
Neo Xu
39264bcd87 chore(draw_buf): add draw buf struct definition (#4833)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-11 14:16:31 +01:00
Viktor Szépe
cc6581ae03 ci: upgrade astyle tool (#4776)
Install from source to use the latest version
2023-11-10 15:37:23 +01:00
Gabor Kiss-Vamosi
a5a58e39d2 refactor: replace lv_coord_t with int32_t 2023-10-31 19:25:01 +01:00
Gabor Kiss-Vamosi
6a7d2e651c refactor(draw_buf): update buf clear and copy API 2023-10-19 11:31:03 +02:00
Neo Xu
c8987aa4d8 chore(color): use lv_color_fomat_get_bpp instead of get_size (#4668)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-10-19 10:14:29 +02:00
Gabor Kiss-Vamosi
d975e398d1 feat(draw_buf): update lv_draw_buf_invalidate_cache API 2023-10-12 16:33:00 +02:00
Gabor Kiss-Vamosi
8deea70049 refactor(draw_buf): remove lv_draw_buf_t and make all functions work on void * buffer directly 2023-10-11 21:33:23 +02:00
Gabor Kiss-Vamosi
e12ac1ae9c feat(draw_buf): modify cache_invalidate API
use  void lv_draw_buf_invalidate_cache(void * buf, size_t size) for more flexibility

see https://github.com/lvgl/lvgl/issues/4597#issuecomment-1750569534
2023-10-08 19:57:00 +02:00
Gabor Kiss-Vamosi
9d8570aa3f fix(draw) fix stride realted bugs in SW render 2023-09-28 12:22:49 +02:00
Gabor Kiss-Vamosi
4068c079a2 feat(draw_buf): add color_format paramater to draw_buf_malloc and align
related to https://github.com/lvgl/lvgl/pull/4414#issuecomment-1707725195
2023-09-06 12:14:00 +02:00
Gabor Kiss-Vamosi
3e4cad6551 feat(draw_buf): rework darw_buf API for more flexibility and use them in glyph bitmap allocation 2023-09-05 21:05:19 +02:00
bjsylvia
538bae5de8 fix(typos): fix typos for lv_draw_buf (#4492)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-27 21:43:08 +02:00
Gabor Kiss-Vamosi
45ff2a663b feat(draw_buf): add lv_draw_buf_handlers to allow using custom callbacks 2023-08-25 22:49:31 +02:00