1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

36 Commits

Author SHA1 Message Date
Benign X
492a474f5f
feat(lv_math): add lv_rand_set_seed api (#5013) 2023-12-14 14:22:54 +01:00
Gabor Kiss-Vamosi
88ada04ebd chore: fix code formatting 2023-12-12 11:51:07 +01:00
Gabor Kiss-Vamosi
710e134abf feat(gpu): add renesas dav2d GPU support 2023-12-12 11:43:37 +01:00
Neo Xu
de77e77882
chore(decoder): remove RLE image decoder (#4923)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-06 09:52:12 +01:00
Gabor Kiss-Vamosi
e06285e7a5 fix(sdl): use stdlib malloc/free for framebuffer allocation 2023-11-30 13:36:55 +01:00
Benign X
86a9418cb5
fix(SDL): compile errors (#4893)
Signed-off-by: Benign X <1341398182@qq.com>
2023-11-29 09:01:31 +01:00
Gabor Kiss-Vamosi
224fb43703 refactor(display): display_remove->display_delete 2023-11-21 21:42:15 +01:00
Gabor Kiss-Vamosi
1d5dd3c2f3 feat(init): add deinit_in_progress to lv_globals
With this in LV_EVENT_DELETE displays and indevs can deinit the drivers too
2023-11-21 21:42:04 +01:00
Neo Xu
6be9592e8b
refactor(image decoder): move lvgl binary image decoder to standalone file (#4829)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-19 21:53:40 +01:00
Gabor Kiss-Vamosi
2f3e8d4066 feat(draw): add initial SDL renderer
It caches SW rendered bitmaps in textures.
The cache is also updated to support data and source separately.
E.g. source is a path to an image, and if that image changes all
related cache entries needs to found and invalidated.

Limitations of SDL rederer:
- not all draw task types are supported
- image transformation is not supported
- some textures (e.g. button matrix texts) are not detected as cached
- images are not cached
- images are supported only from path
2023-11-18 15:35:45 +01:00
Neo Xu
d73f260002
feat(image): add custom RLE decoder (#4332)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-13 08:38:27 +01:00
bjsylvia
3f8d56d0be
chore(init): release indev and display automatically (#4793)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-13 08:23:30 +01:00
Zhang Ji Peng
8cf0bbb558
feat(draw): add implements vector graphic APIs (#4528) (#4691)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-09 11:37:33 +01:00
Niklas Fiekas
91edcf0930
feat(stdlib): add and use lv_malloc_zeroed (#4728) 2023-11-06 15:10:56 +01:00
bjsylvia
fbb65d2fe3
fix(leak): fix common memory leak on lv_init (#4750)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-06 14:55:52 +01:00
Viktor Szépe
f9572ed303
chore: remove BOM and fix typos (#4685) 2023-10-22 06:39:43 +02:00
bjsylvia
14c0869e68
chore(demos): add common entry for lv_demos (#4610)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-10-10 22:28:17 +02:00
Gabor Kiss-Vamosi
80149e7f98 refactor(msg): remove lv_msg in favor of lv_observer 2023-10-10 20:48:46 +02:00
Neo Xu
27357d5139
feat(obj): add obj_id, class names, and dump support (#4536)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-09-25 10:58:36 +02:00
_VIFEXTech
9937138392
feat(libs): add libpng decoder (#4569)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-09-25 10:28:35 +02:00
_VIFEXTech
c4c4627ae0
feat(libs): add libjpeg-turbo decoder (#4567)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-09-22 10:43:59 +02:00
Gabor Kiss-Vamosi
971c533375 refactor: use only uint32_t and int32_t in the widget's API 2023-09-21 13:30:51 +02:00
nicusorcitu
733e11d86d
feat(vglite, pxp): add beta version of NXP's PXP and VG-Lite acceleration (#4568)
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>
2023-09-20 12:32:24 +02:00
_VIFEXTech
e53cd59fcb
chore(libs/jpg): rename lv_jpg to lv_tjpgd (#4573)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-09-20 10:38:47 +02:00
_VIFEXTech
45fb2148d5
chore(libs/png): rename lv_png to lv_lodepng (#4574)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-09-20 10:30:04 +02:00
Gabor Kiss-Vamosi
0721884ee9 refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale 2023-09-18 22:57:30 +02:00
Gabor Kiss-Vamosi
e657c74aca chore: fix build errors 2023-09-18 21:29:22 +02:00
Gabor Kiss-Vamosi
ca55b2ed8d arch(img_decoder): replace read_liine_c with get_area_cb
also remove sjpeg support as get_area_cb can de quite same (some optimization is still needed to not decode the out of bounds chunks)
2023-09-18 21:19:00 +02:00
Gabor Kiss-Vamosi
757877b1fc feat(cache): rework cache
- based in cache size instead of entry count
- not only for images
- needs to be called manually in decoders (and not the cache manages the decoders)
2023-09-14 23:23:29 +02:00
Gabor Kiss-Vamosi
09c12d0f9c refactor(btn, img): rename btn to button and img to image 2023-09-14 20:12:31 +02:00
Zoltan Janosy
ca54d127c2
feat(fs): add support for memory-mapped files (#4462)
Co-authored-by: Zoltan Janosy <zjanosy@fishman.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-31 13:00:26 +02:00
Gabor Kiss-Vamosi
efbd0a41e2 fix(init): fix lv_init crash with LV_ENABLE_GLOBAL_CUSTOM 2023-08-27 21:29:01 +02:00
Neo Xu
b6c5ab3954
chore: remove not needed "expression ? true : false" (#4485)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-25 22:58:21 +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
Gabor Kiss-Vamosi
0b83a82a07 feat(multi-instance): collect all the global variables into a struct to allow running multiple instances of LVGL
Closes #4358
2023-08-19 01:42:37 +02:00
Gabor Kiss-Vamosi
f753265a79 arch(draw): add parallel rendering architecture
BREAKING CHANGE

This is a huge update which introduces parallel rendering. lv_conf.h needs to be updated too.
2023-07-05 13:05:19 +02:00