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

90 Commits

Author SHA1 Message Date
PGNetHun
bc7d95c628
docs(micropython): update MicroPython examples in documentation (#5622) 2024-02-07 21:57:51 +01:00
J. Neuschäfer
e301af41c7
feat(doc): Update display-related documentation to new API (#5489) 2024-01-26 01:38:26 +08:00
PGNetHun
2a129562d8
docs: fix links, add references, rename files (#5138) 2024-01-04 07:25:13 +01:00
Gabor Kiss-Vamosi
f0988b8cf8 refactor(event): add _cb postfix to lv_obj_add_event() 2023-11-28 15:36:51 +01:00
Gabor Kiss-Vamosi
a9328bbe82 docs: reorganize and add Integartion and drivers section 2023-10-22 15:13:19 +02:00
Gabor Kiss-Vamosi
df2073eb82 docs(js): fix typo simualtor -> simulator 2023-10-22 06:44:09 +02:00
Viktor Szépe
f9572ed303
chore: remove BOM and fix typos (#4685) 2023-10-22 06:39:43 +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
Fabian Blatz
a4eccdcc77
doc(zephyr): add Zephyr RTOS getting started guide (#4628) 2023-10-05 09:05:20 +02:00
Gabor Kiss-Vamosi
a3013d490b docs(px5): add empty file for PX5 RTOS 2023-08-29 23:03:14 +02:00
bjsylvia
a711c8b427
chore(multi-instance): update description of related documents (#4470)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-19 22:22:00 +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
7f5e24771e
docs(simulator): remove SDL support from the Visual Studio project 2023-08-13 22:14:27 +02:00
Chris Ring
b001d684fe
docs: fix misc typos throughout (#4413)
Signed-off-by: Chris Ring <c-ring@ti.com>
2023-07-27 22:35:12 +02:00
Joseph An
de97dba59b
docs(st): updating get-started documentation (#4327) 2023-07-03 10:39:37 +02:00
Man, Jianting (Meco)
c4d91ca1bc
doc(rt-thread): add new rt-thread support BSPs (#4320) 2023-06-26 22:13:16 +02:00
Kevin Schlosser
3fe1dcd222
docs: fixes API section of the docs to include everything from LVGL. (#4192) 2023-05-01 11:27:28 +02:00
J. Neuschäfer
bc9bcaa6b7
chore(docs): fix a few typos (#4170)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-04-28 11:08:42 +02:00
Kevin Schlosser
b1df744538
docs: removes non ascii characters (#4175) 2023-04-27 19:47:13 +02:00
Kevin Schlosser
e485dd8bb4
feat(docs): migrate from .md to .rst (#4129) 2023-04-27 14:42:02 +02:00
Man, Jianting (Meco)
9061a787f7
docs(rt-thread): update rt-thread supported BSPs (up to 21 BSPs) (#4123) 2023-04-18 11:39:48 +02:00
Gabor Kiss-Vamosi
e26a46c43c docs(arduino): add note to not use lv_examles library
fixes #4054
2023-03-14 07:38:14 +01:00
Gabor Kiss-Vamosi
124f9b0f9f arch(driver): new driver architecture with new color format support 2023-02-20 20:50:58 +01:00
Tom
b0fa0e286c
docs(stm32): add instructions to include LVGL in STM32CubeIDE (#3983) 2023-02-14 21:39:35 +01:00
nicusorcitu
7c7e99604f
feat(gpu): improve NXP's PXP and VGLite accelerators (#3948)
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>
Signed-off-by: Stefan Babatie <stefan.babatie@nxp.com>
Signed-off-by: Wenbin Yuan <wenbin.yuan@nxp.com>
Co-authored-by: Stefan Babatie <stefan.babatie@nxp.com>
Co-authored-by: Wenbin Yuan <wenbin.yuan@nxp.com>
2023-01-28 23:14:40 +01:00
Narukara
3111494d98
docs: fix typo in quick-overview.md (#3881) 2023-01-02 20:10:12 +01:00
Gabor Kiss-Vamosi
d219960de0 chore(docs): fix minor issues in JS binding docs 2022-11-16 21:30:13 +01:00
Gabor Kiss-Vamosi
d20c441b49 chore(docs): fix image path in JS binding 2022-11-16 21:26:03 +01:00
Gabor Kiss-Vamosi
6948eee9b1 docs(js): remove gif as they cannot be included in PDF 2022-11-09 09:47:10 +01:00
Gabor Kiss-Vamosi
c42a33d6dd chore(docs): fix image in the docs of the JS binding 2022-11-09 09:15:35 +01:00
Gabor Kiss-Vamosi
2055651df2 chore(docs): fix image in the docs of the JS binding 2022-11-09 09:02:55 +01:00
Gabor Kiss-Vamosi
12ca08c649 chore(docs): add images to the docs for the JS binding 2022-11-09 08:28:24 +01:00
Sxs7513
716995b25a
docs(javascript): add javascript binding docs (#3786) 2022-11-09 07:47:25 +01:00
Gabor Kiss-Vamosi
05fe76fb97
chore(docs): fix heading levels in micropython.md 2022-11-05 18:29:00 +01:00
Amir Gonnen
35e1402f1e
docs(micropython): add coding conventions section(#3774)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-11-02 18:33:45 +01:00
Gabor Kiss-Vamosi
7d20d4ca7a
doc(cmake): fix how to fetch LVGL from GitHub 2022-11-02 16:57:43 +01:00
Gabor Kiss-Vamosi
6e62fcfd08
chore: try to fix md table 2022-10-29 10:38:24 +02:00
legerborea
541b431546
feat(cmake-build): add options to disable build of examples/demos (#3738) 2022-10-13 11:55:36 +02:00
Fabian
46cbbd672f
docs(links): fix outdated links and imrpove formatting (#3698) 2022-09-22 16:09:16 -04:00
Gabor Kiss-Vamosi
389d15be3d
docs(intro): fix link to point to master instead of latest
related to #3695
2022-09-19 14:54:03 +02:00
Lyon
314a1d79a8
doc(bindings): fix format for doc/pikascript (#3619) 2022-08-25 21:53:11 +02:00
Lyon
5cafbc912c
doc(bindings): add PikaScript Python binding (#3615) 2022-08-25 14:26:24 +02:00
Roman Romanchuk
118a3bee76
docs: fix broken links in documentation (#3598) 2022-08-19 11:35:24 -04:00
Man, Jianting (Meco)
87456815a1
docs(rt-thread): add tutorial videos (#3550) 2022-08-08 11:53:48 +02:00
Gabor Kiss-Vamosi
2461ac0758 docs: bring back flat widget directory structure 2022-07-27 10:51:11 +02:00
Gabriel Wang
8d3d850dd0
docs(gpu): add docs for arm-2d (#3456) 2022-07-07 06:58:45 +02:00
Gabor Kiss-Vamosi
88bbef14bf
docs(sim): add link to qt-creator 2022-06-28 17:28:49 +02:00
Gabor Kiss-Vamosi
91ebf810aa
docs(get-started): add quick-overview to the index 2022-06-19 15:05:37 +02:00
Man, Jianting (Meco)
1e40fa88a4
doc(rt-thread): add section:import a bsp project into rt-thread studio (#3411) 2022-06-14 10:31:30 +02:00
nicusorcitu
029eef79c4
feat(gpu): reattach nxp pxp vglite accelerators(#3322)
* feat(pxp/vglite) Attach NXP GPUs to the new draw context.

Create a single NXP draw layer on top of PXP and VGLITE.
Extra changes:
1. Add VGLITE image blits acceleration.
2. Reenable blit split workaround for quality issue in RT500.
3. Increase threshold from 32 to 5000 px to fill/blit with both PXP and VGLITE.
4. Allow to enable both PXP and VGLITE. Add a fallback mechanism:
- by default the PXP will try to accelerate. if that is not supported (or fails
due to threshold limit condition from 3.) then it will fallback to VGLITE.
- if VGLITE does not support that feature (or fails due to threshold limit
condition from 3.) the it will fallback to CPU.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* feat(vglite) Add VGLITE support to draw the backgroud of rectangles.

optim: draw only a circle when radius has value LV_RADIUS_CIRCLE.
optim: to draw rounded corners, use cubic bezier curves

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* feat(vglite) Add VGLITE support to draw arcs.

Use up to 4 bezier curves to optimize the drawing of an arc.
The arc curve has to be constant when growing the angle:
for this we compute sub-arc based on a best approximation of quarter-arc.
use dichotomy to find the sub-arc 't' param, instead of tangent approximation.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* feat(pxp) Add ARGB88888 format support for PXP backend.

Supports per pixel and global alpha blending, and combination of alpha blending with recolor feature.

Signed-off-by: Jerome Evillard <jerome.evillard@nxp.com>
Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* feat(vglite) Add the support of ARGB 32bits color format.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* feat(vglite) Add VGLITE acceleration support for rotation and zoom.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* feat(pxp) Add PXP acceleratin to rotate in blit.

Applies the rotation on the pxp output.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(pxp/vglite) Avoid calling the blend callback from image decoded callback.

Add lv_gpu_nxp_pxp_blit_transform() and lv_gpu_nxp_vglite_blit_transform().
This will simplify a lot the fallback mechanism and the way of adding new
image decoded features.
(MGG-884)

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* feat(pxp) Add image rotate 90x.

Simplify the two steps process by adding the blit_cover and blit_opa functions.

In order to rotate or recolor with opacity, two steps must be fallowed:
1. Run the operation without opa.
2. Blend the result by applying the opa.
(MGG-469)

Obs:
Recolor and rotate is currently not supported with opa or alpha channel.(MGG-883)

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(vglite) Fix incorrect slider widget indicator when vglite acceleration is enabled

(MGG-863)

Signed-off-by: Stefan Babatie <stefan.babatie@nxp.com>
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(pxp) Fix pxp fill (simple rect draw)  on 32 bit color depth.

(MGG-890)

Signed-off-by: Stefan Babatie <stefan.babatie@nxp.com>

* fix(pxp) Separate blit simple by the blit with transformation.

While we run into blit with transformation we have to
decide if the operation needs to be done in one or two steps.
Blit with color format (opa or alpha or chroma key) - require one step: blit_cf().
Blit with rotate or recolor but no color format - require one step: blit_cover().
Blit with rotate or recolor + opa or alpha - require two steps:
blit_opa() = blit_cover() + blit_cf().
Blit with rotate or recolor + chroma key - not supported yet.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* feat(pxp) Add support for recolor with chroma-keying.

(MGG-434)

Signed-off-by: Stefan Babatie <stefan.babatie@nxp.com>

* fix(pxp) Fix temporary buffer allocation limit.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(pxp) Add PXP limitation while rotating images not aligned to 16x16 blocks.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(nxp) Add makefiles.

Tested with:
      working-directory: tests/makefile
      run: make test_file

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* feat(nxp) Update NXP github documentation.

(MGG-864)

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(nxp) Move the API comments of global functions only in the H files to make maintenance simpler.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(nxp/vglite) Fixed some warnings. Remove unused variables.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(nxp) lv_draw_nxp_ctx_deinit() shall simply fallback to sofware call.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(nxp) Fallback to software callbacks if need for argb8565 support.

During rendering, LVGL might initializes new draw_ctxs and start drawing into
a separate buffer (called layer). If the content to be rendered has "holes",
e.g. rounded corner, LVGL temporarily sets the disp_drv.screen_transp flag.
It means the renderers should draw into an ARGB buffer.
With 32 bit color depth it's not a big problem but with 16 bit color depth
the target pixel format is ARGB8565 which is not supported by the GPU.
In this case, the NXP callbacks should fallback to SW rendering.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(pxp) Fix wrong demo widget transparency.

1. Fix alpha inverted calculation for fill with opacity.
2. Fix also the ratio of recoloring for chroma key.

Signed-off-by: Stefan Babatie <stefan.babatie@nxp.com>

* fix(vglite) Remove software pre-multiplication when hardware pre-multiplication is available.

(MGG-886)

Signed-off-by: Stefan Babatie <stefan.babatie@nxp.com>

* doc(vglite) Add vglite initialization info.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(pxp/vglite) Fix unused variable warnings when PXP/VGLite are not enabled simultaneously.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

* fix(pxp) Fixed the color key recoloring on 16 bits color depth.

1. Fixed the arguments of lv_color_mix(), previously was using an inversed logic. But it works anyway.
2. Use LV_COLOR_SET_X for adjusting the channels on both 16 and 32 bits. Fixed the max values.

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>

Co-authored-by: Stefan Babatie <stefan.babatie@nxp.com>
2022-05-24 11:43:57 +02:00