Commit Graph

390 Commits

Author SHA1 Message Date
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
gcopoix
5267c0b9f4
feat(drivers): add x11 driver (display/input) support (#4795)
Co-authored-by: Gregor Copoix <gregor.copoix@ithinx.io>
2023-11-15 14:08:03 +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
lhdjply
df910893e4
feat(stdlib):add rtthread function to stdlib (#4777) 2023-11-10 13:41:00 +01:00
Kenji Mouri (Qi Lu)
ffe2c1528e
feat(osal): add Windows support (#4783) 2023-11-10 13:21: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
1000len-4959
361663ee5f feat(build): make it work with MSVC build (#4704)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: bjsylvia <bjsylvia@163.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: Niklas Fiekas <niklas.fiekas@backscattering.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lhdjply <1029652979@qq.com>
2023-11-06 14:35:06 +01:00
lhdjply
b95d74bfcb
feat(os): add rt-thread for osal (#4746) 2023-11-03 10:54:11 +01:00
Gabor Kiss-Vamosi
d456b1cb4d refactor: remove LV_USE_LARGE_COORD, always use int32_t as lv_coord_t 2023-10-31 19:23:24 +01:00
Neo Xu
0910ee0e38
feat(image decoder): decode whole image to RAM support (#4674)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-10-29 17:02:06 +01:00
_VIFEXTech
605379ab3c
feat(profiler): add custom tag support (#4710)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-10-27 11:38:08 +02:00
Neo Xu
726620d0fc
feat(obj): add unified obj property set/get API (#4579)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-10-26 09:39:30 +02:00
Gabor Kiss-Vamosi
3ff625483c demos(render): start render demo 2023-10-25 13:38:37 +02:00
Gabor Kiss-Vamosi
84c8cf8573 feat(arc): add float support 2023-10-25 11:05:04 +02:00
bjsylvia
d98e7b27cb
feat(nuttx): add libuv mode for nuttx dev and poll for nuttx fbdev (#4683)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-10-24 15:00:47 +02:00
Niklas Fiekas
3dbb103c42
feat(dev): port evdev input driver (#4672) 2023-10-20 23:57:11 +02:00
terry.rong
505eeeaeb5
feat(draw): add SIMD draw support. #4463 (#4590)
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-10-19 10:13:17 +02:00
Gabor Kiss-Vamosi
abe89ba1fe chore(conf): clean up lv_conf_template.h 2023-10-17 14:32:09 +02:00
_VIFEXTech
afd410c1de
feat(log): add file line number printing option (#4653)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-10-11 23:30:53 +02:00
bjsylvia
17d0f568c8
feat(nuttx): refactor Nuttx porting layer (#4634)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-10-11 06:38:36 +02:00
Zoltan Janosy
4f541cf523
feat(observer): implemented an observer pattern (#4541)
Co-authored-by: Zoltan Janosy <zjanosy@fishman.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-10-09 23:20:29 +02:00
PGNetHun
8c2fc7ec4b
chore: code and documentation cleanups, renames and fixes (#4607) 2023-09-27 12:23:40 +02:00
PGNetHun
453235c245
chore: code and configs cleanups; add builtin cache tracing (#4593) 2023-09-25 17:16:22 +02:00
terry.rong
064a844d74
feat(disp): update nuttx disp framebuffer (#4591)
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-09-25 10:59:41 +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
9178f67a71
chore(conf): clean up duplicate configuration items (#4584)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-09-22 10:44: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
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
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
Carlos Diaz
5c1fc63647
feat(scale): add the lv_scale widget (#4196)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-31 15:09:40 +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
45ff2a663b feat(draw_buf): add lv_draw_buf_handlers to allow using custom callbacks 2023-08-25 22:49:31 +02:00
bjsylvia
83cd50b4df
fix(typos): fix some typos for style (#4469)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-20 21:03:24 +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
1f807ae714 feat(draw_buf): add option to select draw_buf implementation 2023-08-18 23:01:56 +02:00
Gabor Kiss-Vamosi
4736ebfbca perf(style): speed up getting stye properties by adding LV_OBJ_STYLE_CACHE 2023-08-15 07:31:33 +02:00
bjsylvia
67ca457a07
fix: fix typos (#4451)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-14 16:49:30 +02:00
Gabor Kiss-Vamosi
76d4e56036 feat(sdl): make SDL work with all rendering modes and 1 or 2 buffers 2023-08-10 08:23:01 +02:00
Gabor Kiss-Vamosi
45aa59a473
feat(draw_buf): add lv_draw_buf_t for stride support (#4423) 2023-07-31 18:44:02 +02:00
yushuailong
933db950bb
feat: add config set LV_WIDGETS_HAS_DEAFULT_VALUE (#4371)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
2023-07-19 15:09:06 +02:00
Peter Bee
2cdd41345a
feat(dev): add nuttx lcd driver (#4377)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-07-17 08:03:33 +02:00
Gabor Kiss-Vamosi
b78d4dc04b demo: add lv_demo_scroll 2023-07-15 23:24:58 +02:00
Peter Bee
0aa856aeb7
feat(driver): add NuttX fbdev and touchscreen support (#4360) 2023-07-13 20:31:33 +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