Commit Graph

7215 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
97ba12f280 fix(flex) fix NULL pointer dereference
fixes #2331
2021-06-22 10:26:37 +02:00
Gabor Kiss-Vamosi
713b39ecdb fix(obj, switch) do not send LV_EVENT_VALUE_CHANGED twice
fixes #2330
2021-06-22 10:06:28 +02:00
embeddedt
52d1c2e5b5
fix(examples) adjust canvas example for MicroPython API change 2021-06-21 10:27:40 -04:00
Duco Sebel
1d0c53118e
docs(README) fix broken references (#2329) 2021-06-21 08:46:34 -04:00
Seb Fagard
00c3eb197c fix(pxp): update RTOS macro for SDK 2.10
replace FSL_RTOS_FREE_RTOS by SDK_OS_FREE_RTOS in order to be aligned
with MCU SDK 2.10.
See MCUX-41577.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
2021-06-21 10:53:38 +02:00
Jozef Bastek
e3e3eeaf8c fix(vglite): update for v8
includes updates coming from NXP MCU SDK 2.10 with adaptation for lvgl v8:

Fixed BLIT offset computation

Previous implementation didn't take into account a possibility of
non-zero offset in source image, so output was wrong if offset was used.
With this fix, CPU and VG-Lite output is the same even with offsets.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: vglite: Buffer sync with BLITs

Added buffer synchronisation with BLITs instead of memcpy for VG-Lite.
In LVGL v8, buffer synchronisation acceleration is moved to littlevgl_support.c.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: vglite: Fixed BLIT boundary

Fixed artifact issue revealed by buffer sync with BLIT feature. Caused
by wrong BLIT boundary.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: vglite: BLIT quality degradation workaround for RT595

Limitation in RT595 causes BLIT image quality degradation when
coordinates are above 368 px. This patch implements workaround that will
break the BLIT into multiple smaller BLITs, so the quality is not
affected for higher resolutions.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: vglite: Fix address alignment and stride requirements

Fixed multiple issues:
- The VGLite alignment requirement checks for the pixel destination
buffer are not applicable in our case of Linear (non-tiled) format.
- Some VGLite stride requirement requirement should be expressed in bytes,
not in pixels.
- Fix the Y alignment function to ensure that line starts at an address
that the respects the alignment requirement of VG-Lite.

Such mistakes do not break application,
but cause a fallback to non-accelerated Blit by CPU.
See MGG-741.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: vglite: fix some MISRA C 2012 violations

fixed 56 violations: mainly implicit format casts
and unchecked returned values.

see JIRA MCUX-43327

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: vglite: fix stride requirement in _init_vg_buf()

fix unit: need to convert the alignment requirement into bytes when checking
stride parameter.
fix condition: stride requirement applies only on source buffers.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: vglite: updates for v8

cache callback type changed in display driver struct

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: vglite: update parameter type for v8

display driver is now a pointer in structure.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
2021-06-21 10:53:38 +02:00
Jozef Bastek
8a2a4a11c8 fix(pxp): update for v8
includes updates from NXP MCU SDK 2.10 with adaptation for lvgl v8:

Updated cache handling

- range limited cache flushing changed to complete cache flush, which is
faster and shold be safe
- flushing done via callback system, so OS specific code is removed
from LVGL

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: pxp: Buffer sync with BLITs

Added buffer synchronisation with BLITs instead of memcpy for PXP.
In LVGL v8, buffer synchronisation acceleration is moved to littlevgl_support.c.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: pxp: updates for v8

cache callback type changed in display driver struct
chroma key name changed

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: pxp: new log header file for v8

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

core: init PXP accelerator

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
2021-06-21 10:53:38 +02:00
Gabor Kiss-Vamosi
b203167c75 feat(obj) send LV_EVENT_DRAW_PART_BEGIN/END for MAIN and SCROLLBAR parts 2021-06-20 12:35:10 +02:00
Gabor Kiss-Vamosi
fe6d8d7636 fix(color) overflow with 16 bit color depth 2021-06-20 12:35:10 +02:00
embeddedt
145a0fad08
fix(docs) consider an example to be visible over a wider area 2021-06-18 18:11:53 -04:00
Themba Dube
b5f632ee7a fix(docs) add margin for example description 2021-06-18 12:38:08 -04:00
Themba Dube
4b8c73a577 feat(docs) improvements to examples
* examples are now loaded only when they are visible on your screen
* stylistic improvements
* support for a description
2021-06-18 12:25:49 -04:00
Gabor Kiss-Vamosi
35c0e84078 fix conflict 2021-06-18 14:18:27 +02:00
Gabor Kiss-Vamosi
b9b4ba5b26 test cleant up report folder 2021-06-18 14:15:53 +02:00
Gabor Kiss-Vamosi
e35b1d04bd test add build test again, add dropdown test, integrate gcov and gvocr 2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
e9e010a846 test add move tests to test_cases and test_runners directories 2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
bc5b3be61f test(font_loader) migrate the exisiting font loader test 2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
28d2ad4c3a feat(test) add assert for screenshot compare 2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
ea8bed34b4 chore(test) improve prints 2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
7610d38bb0 fix(test) silence make 2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
c12a22ee87 fix(test) add #if guard to exclude test related files from the build 2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
c26bcf1cc6 feat(test) first experiement with Unity test engine 2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
7c1eb00645
docs(license) update company name and year 2021-06-18 11:05:33 +02:00
dyktronix
7066c8fbbb
feat(spinbox ) add function to set cursor to specific position (#2314)
* Spinbox set cursor to specific position (funct.)

* changed exp10 to lv_pow(10

* Update lv_spinbox.c

resolved indentation

* Update spinbox.md

Added lv_spinbox_set_pos description

Co-authored-by: Sebastian Dyker <sebastian.dyker@walther-systemtechnik.com>
2021-06-17 13:43:19 +02:00
Gabor Kiss-Vamosi
d2e735ef36 test add move tests to test_cases and test_runners directories 2021-06-17 12:39:56 +02:00
Gabor Kiss-Vamosi
428db9494d fix(coords) fix using large coordinates
Fixes #2323
2021-06-17 11:32:49 +02:00
Gabor Kiss-Vamosi
c728b5ceda fix(chart) fix crash if no series are added
fixes #2322
2021-06-17 09:49:10 +02:00
Gabor Kiss-Vamosi
d61617cd67 fix(chart) invalidation with LV_CHART_UPDATE_MODE_SHIFT 2021-06-16 15:08:52 +02:00
Gabor Kiss-Vamosi
31ab0628d5 docs update lv_fs.h, layer and align.png to v8 2021-06-16 14:14:55 +02:00
Gabor Kiss-Vamosi
93b38e92be fix(align) fix lv_obj_align_to 2021-06-16 14:14:29 +02:00
Gabor Kiss-Vamosi
8017f47227 Merge branch 'master' of https://github.com/lvgl/lvgl 2021-06-16 13:11:54 +02:00
Gabor Kiss-Vamosi
cb3692e302 fix(table) invalidate the table on cell value change 2021-06-16 13:09:57 +02:00
Gabor Kiss-Vamosi
a070ecfe8c fix(label) remove dupliacted lv_obj_refresh_self_size 2021-06-16 13:09:33 +02:00
Gabor Kiss-Vamosi
3471bd1c69
docs(README) update links, examples, and add services menu 2021-06-16 10:52:40 +02:00
Gabor Kiss-Vamosi
8731ef141e docs add btn_example.png
It's referenced from the README
2021-06-16 10:30:43 +02:00
Gabor Kiss-Vamosi
6d5ac702ad fix(draw) underflow in subpixel font drawing
Fixes: #2273
2021-06-15 19:50:27 +02:00
Gabor Kiss-Vamosi
3abe517abf perf(draw) speed up additive blending 2021-06-15 19:50:27 +02:00
embeddedt
918d94801f
feat(docs) lazy load individual examples as well 2021-06-15 09:13:47 -04:00
Gabor Kiss-Vamosi
cd600d1056 docs example list fixes 2021-06-15 10:47:09 +02:00
Gabor Kiss-Vamosi
c49e830aad docs add lazy load to the iframes of the examples 2021-06-15 10:33:49 +02:00
Gabor Kiss-Vamosi
ed77ed1dae docs fix eaxmple list 2021-06-15 07:59:04 +02:00
Gabor Kiss-Vamosi
c6f99ad200 docs fix example list
Button matrix was missing.
2021-06-15 00:35:25 +02:00
Gabor Kiss-Vamosi
3ce5226c9d fix (scroll) do not send unnecessary scroll end events 2021-06-15 00:01:55 +02:00
Gabor Kiss-Vamosi
25acaf45ca docs list all examples on one page 2021-06-14 23:16:31 +02:00
Gabor Kiss-Vamosi
8691611de2 update version numbers to v8.1.0-dev 2021-06-14 13:51:45 +02:00
Gabor Kiss-Vamosi
3fdb9b6b35 fix conflicts 2021-06-14 13:46:25 +02:00
Gabor Kiss-Vamosi
3810ef6211 update verson numbers to v8.0.1 2021-06-14 13:45:43 +02:00
Gabor Kiss-Vamosi
a1b59e34dd docs(examples) add <hr/> to better separate examples 2021-06-14 11:44:05 +02:00
Gabor Kiss-Vamosi
33e433008e chore(assert) add warnign about higher memory usage if LV_USE_ASSERT_STYLE is enabled 2021-06-14 11:07:52 +02:00
Gabor Kiss-Vamosi
7971ade47b docs(filesystem) update to v8 2021-06-14 11:07:15 +02:00