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
511feb39be
chore(image): remove explicit initialization to always_zero ( #4796 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-18 08:10:22 +01:00
Gabor Kiss-Vamosi
b11eb4044c
ci: add missing demo test
2023-11-15 23:15:17 +01:00
Gabor Kiss-Vamosi
8470365db2
ci: add missing demo test
2023-11-15 23:09:18 +01:00
Gabor Kiss-Vamosi
b56107ae05
refactor: fix typos
2023-11-15 22:58:07 +01:00
Gabor Kiss-Vamosi
235d580a51
refactor: rename cnt to count
2023-11-15 22:42:33 +01:00
Gabor Kiss-Vamosi
43a231cf5a
refactor(tabview): make it use with buttons instead of button matrix
2023-11-15 22:42:33 +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
Gabor Kiss-Vamosi
628fb98b52
fix(draw): fix minor issues in SW render
2023-11-15 09:47:34 +01:00
Gabor Kiss-Vamosi
293937a1df
feat(anim): make animation time support speed as well
2023-11-13 22:14:01 +01:00
bjsylvia
29c1d94c60
fix(demos): fix demos compiling error caused by font config ( #4778 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-10 15:45:12 +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
ddb1025991
chore(demos): adapt new benchmark demo ( #4780 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-10 09:43:29 +01:00
Gabor Kiss-Vamosi
2e5a551028
fix(vector): make vector examples and demos work with the docs
2023-11-09 12:22:39 +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
bjsylvia
fa17aae81c
fix(demos): fix demos compiling error ( #4759 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-08 16:20:26 +01:00
Gabor Kiss-Vamosi
cad26b55ae
fix(demo): fix music player demo initial animation
2023-11-06 20:19:09 +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
Gabor Kiss-Vamosi
96ce505651
fix(demo): fix showing the average FPS
2023-11-06 14:25:35 +01:00
bjsylvia
f86d16bb2d
fix(leak): fix memory leak on lv_demo_widgets ( #4737 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-02 11:01:27 +01:00
bjsylvia
cafc8393a7
fix(leak): fix memory leak on music list ( #4732 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-02 09:33:39 +01:00
Neo Xu
3539083d55
chore(image): fix warning of unchecked return value ( #4730 )
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2023-11-02 09:19:09 +01:00
Gabor Kiss-Vamosi
16302e9c7b
chore: rename zoom_x/y paramters and local variables to scale_x/y
2023-10-31 20:19:12 +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
50d01cec3d
refactor(style): rename lv_indev_get_act to lv_indev_active
2023-10-31 19:20:36 +01:00
Gabor Kiss-Vamosi
d28f80d362
refactor(style): rename shadow_ofs to shadow_offset
2023-10-31 19:10:02 +01:00
Gabor Kiss-Vamosi
9d993bd15f
feat(line, triangle): add float support for points
2023-10-31 14:16:10 +01:00
Niklas Fiekas
d197d73d62
chore(demo): fix -Wenum-int-mismatch ( #4726 )
2023-10-30 13:16:41 +01:00
Kevin Schlosser
52f375975e
fix(demo): unistd.h is not available with MSVC. ( #4718 )
2023-10-29 16:40:08 +01:00
Gabor Kiss-Vamosi
0b2cccbdb3
ci(render): integrate lv_demo_render to the unit tests
2023-10-26 23:07:50 +02:00
Gabor Kiss-Vamosi
f4d9b8a8dd
demo(render): add line, arc, triangle, and layer tests
2023-10-26 23:07:50 +02:00
Gabor Kiss-Vamosi
c535e3ff91
feat(demo_render): add image, text and box shadow tests
2023-10-26 12:42:24 +02:00
Gabor Kiss-Vamosi
6aa53828ef
fix(benchmark demo): update to make it work with CI
2023-10-25 14:12:59 +02:00
Gabor Kiss-Vamosi
90ae34ad3c
chore: format code
2023-10-25 13:44:27 +02:00
Gabor Kiss-Vamosi
3ff625483c
demos(render): start render demo
2023-10-25 13:38:37 +02:00
Gabor Kiss-Vamosi
a61d87f840
demo(benchmark): rework benchmark
2023-10-25 12:19:39 +02:00
Gabor Kiss-Vamosi
84c8cf8573
feat(arc): add float support
2023-10-25 11:05:04 +02:00
lion2tomato
f273475d28
fix issue:LVGL V9 music compiling error ( #4703 )
...
Signed-off-by: lijianjun <lijianjun@xiaomi.com>
Co-authored-by: lijianjun <lijianjun@xiaomi.com>
2023-10-24 20:45:43 +02:00
Viktor Szépe
742682ae51
chore: fix execute permissions and shebangs ( #4695 )
2023-10-24 09:41:51 +02:00
Viktor Szépe
f9572ed303
chore: remove BOM and fix typos ( #4685 )
2023-10-22 06:39:43 +02:00
Gabor Kiss-Vamosi
89dd481747
chore: remove BOM
...
see https://github.com/lvgl/lvgl/pull/4684#issuecomment-1773768596
2023-10-22 06:12:48 +02:00
Gabor Kiss-Vamosi
85798af3cd
feat(draw): add non uniform scale (scale_x and scale_y)
2023-10-20 23:29:22 +02:00
Gabor Kiss-Vamosi
094db896d2
fix(scale): fix round scale label positons
2023-10-20 11:29:16 +02:00
Gabor Kiss-Vamosi
195c3f72d2
fix(scale): fix tick count and example issues
2023-10-19 15:02:36 +02:00
Gabor Kiss-Vamosi
f7c25b7966
demo(widget): improve the 3rd scale
2023-10-12 21:58:38 +02:00
Gabor Kiss-Vamosi
bccbde0cef
refactor(obj): remove LV_PART_TICKS and use LV_PART_ITEMS in lv_scale
2023-10-12 21:50:46 +02:00
Gabor Kiss-Vamosi
9ec5417dd3
refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state
2023-10-12 21:12:16 +02:00
Gabor Kiss-Vamosi
6163437afd
refactor(scale): remove lv_meter use lv_scale instead
2023-10-12 17:21:52 +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
bjsylvia
066c7a1864
fix(benchmark): fix typos ( #4627 )
...
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-10-05 09:22:20 +02:00