Gabriel Wang
332d0abcfc
fix(draw): fix colour supports for indexed and alpha-only ( #3371 )
2022-05-20 09:32:59 +02:00
Gabor Kiss-Vamosi
42d9c07eeb
fix(color): compensate rounding error during blending
...
fixes #3362
2022-05-18 23:08:12 +02:00
embeddedt
276f28a8a2
fix(draw) ensure variable is initialized to avoid warning
...
Fixes #3365
2022-05-18 08:53:35 -04:00
Gabriel Wang
a7cfc0b901
feat(cmsis-pack): Monthly update for May (alpha) ( #3359 )
...
* feat(cmsis-pack): Monthly update for May
* fix(benchmark): fix a typo
* fix(draw): fix warning
* Update LVGL.lvgl.1.0.4-alpha5.pack
* feat(arm-2d): add a quick patch to support RGB565A8
2022-05-16 20:41:59 +02:00
Gabor Kiss-Vamosi
834a118847
fix warnings
2022-05-16 17:39:31 +02:00
Gabor Kiss-Vamosi
76de7c6b7b
fix(draw): fix the calculation of the transformed coordinates
...
fixes https://forum.lvgl.io/t/inaccurate-bitmap-zoom/8858
2022-05-16 17:15:36 +02:00
Gabor Kiss-Vamosi
67446a4922
support chrome keysed image rotatation
2022-05-16 17:15:36 +02:00
Gabor Kiss-Vamosi
2716475932
formatting
2022-05-16 17:15:36 +02:00
Gabor Kiss-Vamosi
b773330234
fix conflicts
2022-05-16 17:15:36 +02:00
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
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
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
_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
23eecce008
fix(draw): fix img recolor
2022-04-27 15:23:39 +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
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
Mariotaku
2c90cba9de
Revert "Update lv_draw_sdl.c ( #3167 )" ( #3280 )
...
This reverts commit ededba94b4 .
2022-04-19 10:22:44 +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
06e616d0cb
fix(gradient): assert before dividing by 0 ( #3228 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 13:04:52 +02:00
_VIFEXTech
adf7dc2121
fix(draw_sw_letter): fix incorrect use of sizeof for a pointer ( #3234 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:57:53 +02:00
_VIFEXTech
b0c1e297f4
fix(draw_mask): remove invalid decision branches ( #3225 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:55:05 +02:00
_VIFEXTech
2c70665674
fix(gradient): remove invalid decision branches ( #3226 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:53:46 +02:00
Gabriel Wang
a5b9a1c210
feat(env_support): cmsis pack monthly update ( #3209 )
...
* feat(gpu): update lv_gpu_arm2d
* feat(cmsis-pack): Monthly update for March
2022-03-29 13:58:07 +02:00
Ryzee119
4f30bb9fa5
fix(lru): Fix use of undefined variables ( #3181 )
2022-03-24 21:42:31 +01:00
Xiang Xiao
a694fc3f87
fix(make) make files under draw/gpu ( #3202 )
...
* chore(gpu): remove the empty src/gpu/lv_gpu.mk
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(draw): add the missing gnu driver .mk
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2022-03-23 12:58:37 +01:00
rqbh
ededba94b4
Update lv_draw_sdl.c ( #3167 )
...
Fix sdl gpu draw back
2022-03-17 15:22:10 +01:00
guoweilkd
7713327d61
feat(font): add imgfont - can be used to add emojis to label/span ( #3160 )
...
* feature(font): draw img in label/span
* add to tests
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-03-17 10:18:14 +01:00
Gabor Kiss-Vamosi
7153e3f8b7
fix(arc): fix arc image drawing issue
2022-03-17 10:11:39 +01:00
Gabriel Wang
16a1af3873
fix(draw): src_buf_tmp will be NULL when LV_DRAW_COMPLEX is '0' ( #3163 )
2022-03-16 16:15:20 +01:00
Gabriel Wang
a0153182b8
feat(gpu): add gpu arm2d ( #3162 )
...
* feat(gpu): add support for arm-2d
* fix(hal): fix typos
* feat(cmsis-pack): v1.0.2-alpha2 for monthly update
* update format for lv_gpu_arm2d.c
* Update LVGL.lvgl.1.0.2-alpha1.pack
2022-03-16 10:26:12 +01:00
ckielstra
f79e2838cb
chore(doc): spelling ( #3172 )
...
* Spelling: 'an unicode' -> 'a unicode'
* fix(changelog) spelling
* Remove double spaces
* Spelling
2022-03-16 10:19:19 +01:00
patricklaf
d56ce08782
feat(dma2d): add lv_draw_stm32_dma2d_buffer_copy function ( #3147 )
...
* Add lv_draw_stm32_dma2d_buffer_copy function
* Code format
* More code format
2022-03-12 19:28:38 +01:00
Xiang Xiao
ff0bf6386d
chore(lvgl.[h|mk]): don't include the grandchildren file ( #3145 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2022-03-04 21:00:13 +01:00
Gabor Kiss-Vamosi
3d92972695
fix(spinbox): set its default width in its class
2022-02-22 20:55:37 +01:00
Gabor Kiss-Vamosi
83343f11a1
chore(draw): show error for small gradient cache size
2022-02-22 20:55:37 +01:00
Gabor Kiss-Vamosi
d034511bba
feat(draw): add draw_ctx->buffer_copy
...
realted to: #3087
2022-02-18 13:57:11 +01:00
guoweilkd
060b37e8fb
fix(draw_rect): delete __STDC_VERSION__ to ensure C++ compatibility ( #3099 )
2022-02-17 12:31:16 +01:00
guoweilkd
751b1b67b8
fix(font):draw placeholder if get_glyph_dsc() returns false ( #3000 )
2022-02-11 15:26:57 +01:00
Gabor Kiss-Vamosi
9a1e385b2b
docs(images): fix notes about breaking change inf v8.2
...
Indexed images are not chroma keyed. Use the alpha chaneel instead.
Realted to: https://forum.lvgl.io/t/8-2-0-image-drawing-renders-actual-color-defined-for-transparency-in-lv-img-cf-indexed-8bit-images-8-1-0-and-prior-did-not/8133
2022-02-07 19:15:01 +01:00
Mariotaku
70c2b57abe
fix(canvas): force canvas to use sw draw ( #3045 )
...
* force canvas to use sw draw
* added userdata to lv_draw_sdl_drv_param_t
* fixing build test
* Update src/draw/sdl/lv_draw_sdl.h
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-01-25 13:24:34 +01:00
X-Ryl669
923defd6b6
fix(gradient): general cleanup and fix for alignment issues ( #3036 )
...
* Try to fix ASAN behavior
* improve alignments
* fix buffer overflow and various other fixes
* minor fixes
* formatting
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-01-24 15:47:47 +01:00
X-Ryl669
1f9d3892a3
fix(draw): rendering issues for vertical gradient with and without dithering ( #3034 )
2022-01-22 15:43:37 +01:00
Mariotaku
842296d874
fix(lru): lower dependency for standard C functions ( #3024 )
...
* uses lvgl memory functions for lru
* uses lv_memset_00
* using lv_rand for seed
updated to use lvgl naming convention
* includes stddef.h
2022-01-20 12:00:13 +01:00
Amir Gonnen
9d1febd275
fix uninitialized variables ( #3023 )
2022-01-19 09:24:44 -05:00
Mariotaku
d33db6bb59
feat(sdl): support rounded images ( #3012 )
...
* added radius mask for rounded img
* improved mask composite
improved image zoom fidelity
* implementing sdl image radius
* low performance radius img drawing
* improved rounded image performance
* improved rounded image performance
* improved rounded image blending
* pixel perfect rounded image for SDL
* accurate drawing only
* supports rounded img for rect as well
* fixed mask check when zoomed
* surrounded rounded mask in lv_img with draw_complex check
* updated docs
* fixed build issue
* aware of clip_corner property
* reverted lv_img.c
* updated docs
2022-01-18 11:41:45 +01:00
ckielstra
febafd1cc7
chore: many trivial spelling and layout fixes ( #3008 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-01-17 08:10:23 -05:00
Gabor Kiss-Vamosi
138db9c5d6
fix(draw): add grad_cache_mem to GC_ROOTs
2022-01-17 11:30:38 +01:00
Gabor Kiss-Vamosi
49642d3891
fix(draw): add lv_draw_sw_bg
2022-01-15 13:46:36 +01:00