1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

4400 Commits

Author SHA1 Message Date
Gabriel Wang
6ae0784251
feat(gpu): Update lv_gpu_arm2d with new features (#3340)
* feat(gpu): Update lv_gpu_arm2d with new features

- Provide acceleration for
    * Transform
    * Recolour
    * Chrome-Key

* remove typos

* fix code-format issue

* update according to #3337

* remove the last /* *INDENT-ON* */
2022-05-16 11:15:49 +08:00
embeddedt
2148ed99b0
fix(mem): fix TLSF returning the wrong pointer when the requested size is too large (#3325)
* test(mem) add test for #3324

* fix(tlsf) don't return the same pointer if the requested size is too large
2022-05-14 22:04:13 +02:00
Gabor Kiss-Vamosi
cc18518e96 feat(indev): send LV_EVENT_PRESS_LOST on release with wait_until_release
related to #3211
2022-05-10 19:29:13 +02:00
Gabriel Wang
8d3c41d517
feat(draw): improve acceleration for LV_IMG_CF_ALPHA_8BIT (#3337)
* feat(draw): improve acceleration for LV_IMG_CF_ALPHA_8BIT

* fix format issue

* fix: use normal method when conditions are not fulfilled.

* fix a typo

* feat(demo): add Weighted FPS and Opa speed log output (#3326)

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>

* perf(layer): cache the layer_type

fixes #3334

* fix partial redraw and setting color

Co-authored-by: _VIFEXTech <1290176185@qq.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-05-10 18:52:50 +02:00
Arnaud Mouiche
6c68095fb5
fix(txt): fix returned value of lv_txt_iso8859_1_next(..., NULL) (#3338)
Should return the first character of txt instead of the following one.

For example, used in lv_txt_get_width() to get 'letter_next' leading to
incorrect lv_font_get_glyph_width results.

Co-authored-by: Arnaud Mouiche <arnaud.mouiche@invoxia.com>
2022-05-10 18:25:46 +02:00
Gabor Kiss-Vamosi
c6c2864048 perf(draw): minor optimiziation in point transformation 2022-05-10 11:13:10 +02:00
_VIFEXTech
93dfd87a7a
feat(anim): add the function of getting global animation refresher timer (#3331)
* feat(anim): add dynamic setting animation refresh period support

* add lv_anim_get_refr_period

* add lv_anim_get_timer

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-05-07 22:58:38 +02:00
Gabor Kiss-Vamosi
ac2e2f132e perf(layer): cache the layer_type
fixes #3334
2022-05-07 22:01:28 +02:00
_VIFEXTech
012a7cfddb
fix(chart): fix accessing uninitialized point_area (#3327)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-05-05 11:02:39 +02:00
Gabriel Wang
7c9eea1e63
feat(gpu): Update gpu arm 2d (#3320)
* feat(lv_gpu_arm2d): accelerate chrome-keying

* feat: accelerate Image ARGB for rgba8888

* Update lv_gpu_arm2d.c

* chore disable formatting for __ACCELERATE_PREPARE__

astyle seems to have issues understanding multiline preprocessor blocks.

Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
2022-05-04 21:34:42 +02:00
Gabor Kiss-Vamosi
a99eb6bb6a fix(spinbox): rename lv_spinbox_set_pos to lv_spinbox_set_cursor_pos
fixes #3301
2022-05-04 21:14:28 +02:00
Xiang Xiao
e827207080
fix(config): Keep the sequence of widget in order (#3314)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 21:00:49 +02:00
Xiang Xiao
da9e53c2f4
fix(config): fix typo in LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR (#3313)
and order macro in lv_conf_kconfig.h as Kconfig and lv_conf_template.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 20:59:55 +02:00
Xiang Xiao
4e7a0b2824
chore: correct the code format in lv_conf_template.h (#3310)
* chore: correct the code format in lv_conf_template.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* feat(config): support #undef in lv_conf_template.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 20:58:09 +02:00
_VIFEXTech
181bf88ef0
fix(refr): initializing row_cnt is to silence the warning (#3309)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-05-04 20:19:52 +02:00
Gabor Kiss-Vamosi
72ae62d06f chore(chart): fix typo in the comment
Fixes https://forum.lvgl.io/t/crowded-mode-in-chart/8730
2022-05-01 20:09:41 +02:00
_VIFEXTech
bf0a0d543b
fix(meter): fix typo (#3308)
* fix(meter): remove unused code

* add part_draw_dsc.p2 = &p_outer

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-29 21:29:31 +02:00
_VIFEXTech
787f1a7729
fix(draw): update Makefiles (#3303)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-29 09:15:52 -04:00
Gabor Kiss-Vamosi
46bf27d50b fix(grid): fix dead branch
fixes: #3306
2022-04-29 13:39:43 +02:00
_VIFEXTech
e8cf036955
fix(lodepng): fix NULL pointer access (#3307)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-29 13:29:06 +02:00
Gabor Kiss-Vamosi
d8622f544f chore: fix warning 2022-04-27 20:44:30 +02:00
Gabor Kiss-Vamosi
23eecce008 fix(draw): fix img recolor 2022-04-27 15:23:39 +02:00
Gabor Kiss-Vamosi
51a7a61df3 fix(draw): revert handling of style_opa on not MAIN parts 2022-04-27 15:11:00 +02:00
Gabriel Wang
b81437e964
feat(cmsis-pack): Monthly update for April (#3300)
* feat(cmsis-pack): Monthly update for April

* fix typo
2022-04-27 14:29:01 +02:00
Gabor Kiss-Vamosi
e624b90db3 fix(draw): be sure angle values are in the correct range 2022-04-27 14:25:12 +02:00
Gabor Kiss-Vamosi
a76bb70a79 feat(arc): add lv_arc_align_obj_to_angle and lv_arc_rotate_obj_to_angle 2022-04-27 14:24:45 +02:00
Gabor Kiss-Vamosi
ff7204ecad fix(hal): disable driver->screen_transp by default regardless to LV_COLOR_SCREEN_TRANSP
With the new layer handling LV_COLOR_SCREEN_TRANSP will be enabled in a lot of cases
but screen_transp still shouldn't be enabled.
2022-04-26 17:29:13 +02:00
Kenji Mouri
3c0a3d05cc
feat(fsdrv) fix issues for win32 backends (#3284) 2022-04-26 16:55:40 +02:00
Gabor Kiss-Vamosi
8b15007568 fix(draw): create intermediate layer for blend modes too 2022-04-26 11:23:55 +02:00
Gabor Kiss-Vamosi
318146a2c2 feat(draw): support transforming widgets and improfe sw transform
For details see: https://docs.lvgl.io/master/overview/style.html
2022-04-26 10:45:12 +02:00
woody
07b7eea56c
feat(gpu): add SWM341 gpu support (synwit)
* Update lv_gpu_stm32_dma2d.c

fix stm32 DMA2D blend。

* add SWM341 DMA2D support for lvgl

* add SWM341 DMA2D support for lvgl

* add SWM341 DMA2D support for lvgl

* add SWM341 DMA2D support for lvgl

* add SWM341 DMA2D support for lvgl
2022-04-25 15:13:19 +02:00
_VIFEXTech
9868cb92bc
fix(snapshot): add missing ASSERT checks (#3292)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-25 12:56:10 +02:00
Gabor Kiss-Vamosi
98660a861d fix(fs): fix cached read and add unit test for lv_fs
fixes: #3262
2022-04-21 20:45:33 +02:00
Gabor Kiss-Vamosi
17f5e0accb fix(slider): fix left knob in ranged mode
fixes: #3285
2022-04-20 11:19:26 +02:00
Gabor Kiss-Vamosi
9997fb00aa feat(dropdown): add lv_dropdown_get_option_index 2022-04-19 11:25:29 +02:00
Mariotaku
2c90cba9de
Revert "Update lv_draw_sdl.c (#3167)" (#3280)
This reverts commit ededba94b49c534792c18b46c8484ce20933d754.
2022-04-19 10:22:44 +02:00
_VIFEXTech
0fdd5d6449
feat(hal): add render_start_cb to disp_drv (#3274)
* feat(hal): add render_start_cb to disp_drv

* update doc for render_start_cb

* Update docs/porting/display.md

* remove disp_refr parameter

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-04-19 10:05:59 +02:00
Gabor Kiss-Vamosi
c596a36d9e fix(layout): use uint16_t LV_LAYOUT_FLEX/GRID
fixes #3273
2022-04-14 13:41:32 +02:00
Gabor Kiss-Vamosi
777fe1ea70 fix(scroll): send LV_EVENT_SCROLL_BEGIN/END with no animation too 2022-04-14 13:38:03 +02:00
Gabriel Wang
b6e76e28cf
feat(cmsis-pack): monthly update for April (v1.0.3-alpha) (#3271) 2022-04-14 13:28:34 +02:00
_VIFEXTech
56383c46cf
fix(msgbox): do not execute init obj when obj == NULL (#3264)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-12 09:07:24 +02:00
embeddedt
06fff4b9ba
fix(event) avoid using a boolean as a pointer
Fixes #3265
2022-04-11 17:53:57 -04:00
_VIFEXTech
96c4a45576
fix(menu): use LV_ASSERT_MALLOC check for new_node (#3263)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-11 20:31:30 +02:00
guoweilkd
9137840582
fix(canvas):image cache may expire after set canvas's buff (#3267) 2022-04-11 13:35:28 +02:00
_VIFEXTech
3db7adffb1
fix(obj_style): prevent access to class null pointer (#3252)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-11 12:43:52 +02:00
_VIFEXTech
563603589d
pref(png): use lv_memcpy/memset to improve performance (#3251)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-11 12:41:59 +02:00
Gabor Kiss-Vamosi
dea75d9b4a fix(draw): fix disp_bg_img drawing
See https://forum.lvgl.io/t/issue-with-background-image-rendering-in-lvgl-8-2-0-with-lv-color-depth-32/8607
2022-04-11 12:40:56 +02:00
Gabor Kiss-Vamosi
1b219654db chore: code formatting and fix warnings 2022-04-06 22:18:30 +02:00
Gabor Kiss-Vamosi
b0a46c4837 fix(indev): do not send keys to objects in disabled state 2022-04-06 22:12:24 +02:00
Gabor Kiss-Vamosi
00f67597d3 fix(theme) add disabled style to textarea in the default theme 2022-04-06 22:12:24 +02:00