Pavi92
83582f6a3a
fix(arc): add missing private include ( #6648 )
...
Co-authored-by: liamHowatt <liamjmh0@gmail.com >
2024-08-12 14:54:42 +02:00
Liam
1d14386b99
refactor(API): don't expose private symbols in lvgl.h. phase-out "_lv*" names ( #6068 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2024-08-02 07:46:42 +02:00
cristian-stoica
89f2ff6701
fix(nxp/vglite): fix stride calculation ( #6613 )
...
Signed-off-by: Cristian Stoica <cristianmarian.stoica@nxp.com >
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com >
Signed-off-by: Neo Xu
Signed-off-by: Cristian Stoica
Signed-off-by: Cosmin-Daniel Radu <cosmin.radu_1@nxp.com >
Co-authored-by: Nicușor Cîțu <nicusor.citu@nxp.com >
Co-authored-by: Cosmin-Daniel Radu <cosmin.radu_1@nxp.com >
2024-08-02 12:17:42 +08:00
Gabor Kiss-Vamosi
6828a9b257
fix(draw_buf): handle negative coordinates on the area to clear ( #6510 )
2024-07-26 14:23:50 +08:00
VIFEX
edcf9deb65
fix(draw_buf): skip palette cleanup ( #6471 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2024-07-06 00:26:21 +08:00
VIFEX
9a7639ccea
feat(tests): add VG-Lite render test ( #6264 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: liamHowatt <liamjmh0@gmail.com >
2024-06-07 22:29:13 +02:00
Gabor Kiss-Vamosi
25c469db58
fix(canvas): lv_canvas_set_px for indexed images ( #6226 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-05-21 17:04:34 +08:00
Benign X
417d78bead
refactor(draw_buff): separate all image cache related draw buff into image_cache_draw_buff
2024-05-07 17:52:15 +08:00
Benign X
5207948604
feat(draw_buff): adapt lv_draw_buf_dup to support multi-instance ( #6179 )
2024-05-06 14:03:16 +02:00
VIFEX
447f9b8f48
fix(vg_lite): fix incorrect cache operation ( #6054 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2024-04-30 11:23:32 +02:00
Xu Xingliang
79b64c8bd8
fix(draw_buf): use LV_ROUND_UP to align draw buffer address
...
From test config lv_test_conf.h:
/*Use non power of 2 to avoid the case when `malloc` returns aligned pointer by default, and use a large value be sure any issues will cause crash*/
\#define LV_DRAW_BUF_ALIGN 852
We need to support non-power-of-2 draw buffer alignement.
Introduce LV_ROUND_UP in lv_math.h and use it instead.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-04-25 18:56:18 +08:00
Benign X
03498a2f83
feat(draw_buf): user can separate font draw buf from default draw buff now ( #5982 )
2024-03-30 13:13:05 +08:00
Benign X
db84c4ee29
feat(draw_buff): add user custom draw buffer instance support ( #5974 )
2024-03-29 11:16:54 +08:00
Neo Xu
f797a89a4b
feat(draw_buf): support indexed image in draw_buf_copy ( #5686 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-03-03 18:56:45 +01:00
Neo Xu
ff2f509318
fix(draw_buf): use height as loop condition instead of checking data pointers ( #5687 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-02-24 13:06:47 +01:00
Hatim-Pierre FAZILEABASSE
cde82c193c
fix(pxp): fix issues in pxp cache management callback ( #5685 )
...
Signed-off-by: Hatim-Pierre FAZILEABASSE <hatim-pierre.fazileabasse@ingenico.com >
2024-02-22 10:19:33 +01:00
Neo Xu
bd119043a1
feat(draw_buf): distinguish between lv_image_dsc_t and lv_draw_buf_t ( #5496 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
Signed-off-by: Neo Xu <neo.xu1990@gmail.com >
2024-02-18 10:52:50 +08:00
Neo Xu
7f669001a3
chore(draw_buf): remove unnecessary info logs ( #5634 )
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com >
2024-02-11 11:05:32 +08:00
Neo Xu
1341b88986
feat(draw_buf): use draw_buf as parameter of invalidate_cache API ( #5602 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-02-07 12:26:41 +08:00
Neo Xu
ad81f1f8cc
Stride adjust in place ( #5423 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-02-06 17:53:14 +08:00
Xu Xingliang
86016a819a
feat(color): add color format ARGB8565
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-02-05 02:08:52 +08:00
Neo Xu
da3ff11bd5
feat(draw_buf): misc update ( #5498 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-29 10:18:24 +01:00
Gabor Kiss-Vamosi
b9f6dfd84b
fix(disp): minor fixes for flushing ( #5360 )
2024-01-18 10:38:01 +01:00
Neo Xu
c8bd402192
feat(draw_buf) make lv_draw_buf_malloc a static function ( #5318 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-15 12:39:28 +01:00
Neo Xu
57cda3b91c
feat(draw_buf): use lv_draw_buf_t as argument of API lv_draw_buf_clear/copy ( #5322 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-15 11:37:38 +01:00
_VIFEXTech
8701dece65
refact(layer): use draw_buf to replace raw pointers ( #5254 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-14 13:47:20 +01:00
Neo Xu
ed99a21016
refactor(display): use draw_buf_t for display ( #5204 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-10 10:54:56 +01:00
Gabor Kiss-Vamosi
4699f2f556
fix(bar): fix the clipping of the indicator in some corner cases ( #5229 )
2024-01-09 17:13:25 +01:00
Neo Xu
1d73e73a93
feat(draw_buf): add draw_buf init API ( #5132 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-05 14:45:42 +01:00
Neo Xu
3e5856c058
chore(draw_buf): add invalid cf and stride check ( #5177 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-04 22:32:27 +01:00
Neo Xu
398e181dd3
feat(draw_buf): add API to reshape existing draw buf ( #5133 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-03 20:07:53 +08:00
Neo Xu
240d9a3cb1
fix(draw_buf): dup a draw buffer should dup its flags too ( #5101 )
...
Signed-off-by: Xuxingliang <xuxingliang@xiaomi.com >
2023-12-29 01:16:07 +08:00
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