Gabor Kiss-Vamosi
759d8aef87
fix(dave2d): fix rendering to canvas with dave2d ( #6498 )
2024-07-15 23:58:17 +08:00
Gabor Kiss-Vamosi
59277de9f4
fix(dave2d): make it work without software render too ( #6290 )
2024-06-06 14:54:28 +08:00
Johannes Marbach
152dc0b2be
feat(draw): add convenience methods for safely getting correct draw descriptor ( #5505 )
2024-01-29 08:19:58 +01:00
Ramesh
9d71404e5c
fix(layer): Update calculation for overlay used memory ( #5504 )
2024-01-27 17:20:32 +08:00
_VIFEXTech
b81fa5a354
perf(draw): use the simpler layer clear method ( #5470 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2024-01-25 09:42:50 +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
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
e217674295
chore: move lv_obj_t define to lv_types.h ( #5161 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-03 21:44:36 +01:00
Xu Xingliang
9278c42c9b
fix(layer): use provided buf stride directly
...
In case of externally provided draw buffer, it already has its own stride parameter set. Use it directly
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-03 11:28:56 +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
bjsylvia
07d9ab5968
feat(profiler): add some profiler points and default header for perfetto ui ( #4965 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com >
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com >
2023-12-11 14:18:41 +01:00
Neo Xu
21f6473dbe
chore(format): fix code format issue CI reported ( #4877 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2023-11-27 06:24:49 +01:00
Gabor Kiss-Vamosi
26e0f44a36
feat(draw): add lv_draw_get_dependent_count
2023-11-26 23:01:37 +01:00
bjsylvia
990fbc8cdf
fix(draw): remove LV_LAYER_MAX_MEMORY_USAGE ( #4809 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com >
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com >
2023-11-24 20:17:10 +01:00
_VIFEXTech
296c1df302
chore(demos): fix warning ( #4847 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2023-11-22 07:07:04 +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
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
bjsylvia
17d1da62af
fix(render): make parallel rendering work based on Nuttx Simulator ( #4764 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com >
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com >
2023-11-10 13:31:36 +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
Gabor Kiss-Vamosi
386250a336
fix(draw): stride handling in case of layers
2023-11-06 09:55:43 +01:00
Gabor Kiss-Vamosi
69342908ee
fix(draw): initialize layer->buf_stride
2023-11-06 09:49:53 +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
Gabor Kiss-Vamosi
666f839977
docs(chart): update chart example
2023-10-16 23:43:35 +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
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
09c12d0f9c
refactor(btn, img): rename btn to button and img to image
2023-09-14 20:12:31 +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
Gabor Kiss-Vamosi
da876e4a21
feat(draw): add preferred_draw_unit_id and preference_score to draw_tasks
...
see https://github.com/lvgl/lvgl/issues/4342#issuecomment-1691636624
2023-08-30 19:46:41 +02:00
Gabor Kiss-Vamosi
7899f77ee9
feat(draw): add lv_draw_layer_alloc_buf()
2023-08-25 22:57:35 +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
9064e121ba
feat(draw_buf): add lv_draw_buf_get_buf to properly handle mem align
2023-08-13 20:56:31 +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
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
_VIFEXTech
540c028d60
feat(profiler): add performance profiler hook ( #4211 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2023-05-11 11:10:47 +02:00
Mariotaku
f575935180
fix(sdl): add transformation support for the SDL backend ( #3403 )
...
* sdl transform wip
* sdl transform wip
* working transform (scale, rotate)
* fixed transform with masks
* fixing includes
* removed lv_obj_t references in draw backend
* update the API to work with SW layers too
* update lv_conf_internal.h
* makefile fixes
* updated sdl transform implementation
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-06-15 10:36:47 +02:00
Gabor Kiss-Vamosi
d034511bba
feat(draw): add draw_ctx->buffer_copy
...
realted to: #3087
2022-02-18 13:57:11 +01:00
Gabor Kiss-Vamosi
db53ea925c
arch(draw): allow replacing the draw engine
...
BREAKING CHANGE: the API of lv_draw_... function have been changed
2021-12-21 15:54:22 +01:00
Gabor Kiss-Vamosi
8f6b1f8d6c
arch(draw) separate SW renderer to allow replacing it ( #2803 )
...
* decouple sw renderer
* simplify blend interface
* make tests pass
* udpate makefiles
* fix warning
* fix build errors
* run code formatter
* antialias fix
2021-11-26 12:44:10 +01:00