Commit Graph

17 Commits

Author SHA1 Message Date
fronders
eee2dd1864 fix(attr): refactor LV_ATTRIBUTE_* for function attributes (#4404)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-07-25 15:13:35 +02:00
Gabor Kiss-Vamosi
45b13c378f fix(draw): typo with LV_COLOR_DEPTH 8 2023-05-03 10:34:18 +02:00
Gabor Kiss-Vamosi
2c17b28ac4 fix(darw): add back the disappeared antialising=0 support
fixes #3838
2022-12-03 17:49:48 +01:00
Gabor Kiss-Vamosi
5a06fce472 perf(draw): speed up non normal blend modes 2022-07-05 14:54:08 +02:00
Gabor Kiss-Vamosi
9ac8ce69f6 fix(draw): handle non BLEND_MODE_NORMAL for ARGB drawing 2022-06-02 10:16:42 +02:00
Gabor Kiss-Vamosi
42d9c07eeb fix(color): compensate rounding error during blending
fixes #3362
2022-05-18 23:08:12 +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
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
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
X-Ryl669
6617385f8a feat(draw): add gradient dithering support (#2872)
* Add dithering to gradients

* Add support for 8x8 matrix for ordered dithering

* Fix CI errors

* Try error diffusion on vertical gradient too

* Vertical error diffusion dithering

* Add support for runtime based dithering mode selection (from none, ordered, error diffusion).

* Reduce the binary size of the code by sharing the dithering table when appropriate.

* Fix CI

* Fix CI

* Review corrections

* Fix union mapping

* Revert bg_color changes

* Fix for keeping bg_color in the API.

* Fix after review

* Add support for setting multiple stops per gradient in the style API

* Let's make an example

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-11 12:38:30 +01:00
Gabor Kiss-Vamosi
0645af32a2 doc(gpu): add a page for external GPU support and draw_ctx
related to: #2988
2022-01-11 11:35:28 +01:00
Mariotaku
fc25194ed5 feat(draw): add draw_bg callback to draw_ctx #2934 (#2935)
* this is for #2934
reduced usage of blend mode
introduced draw_bg for draw_ctx

* fixed formatting
2021-12-22 19:03:44 +01:00
Gabor Kiss-Vamosi
11b54a2086 chore: fix warnings 2021-12-21 16:06:11 +01:00
Gabor Kiss-Vamosi
db53ea925c arch(draw): allow replacing the draw engine
BREAKING CHANGE: the API of lv_draw_... function have been changed
2021-12-21 15:54:22 +01:00
Neo
e50950683d fix(draw): fix set_px_cb memory write overflow crash. (#2882) 2021-12-07 13:46:02 +01:00
Virus.V
79f1be5cfa fix(draw): fix memory access out of bounds when using blend subtract (#2860)
* fix(draw) fix memory access out of bounds when using blend subtraction mode (#2847)

* fix(draw) correct the drawing error of fill_set_px
2021-12-01 14:53:31 +01:00
Gabor Kiss-Vamosi
8f6b1f8d6c arch(draw) separate SW renderer to allow replacing it (#2803)
* decouple sw renderer

* simplify blend interface

* make tests pass

* udpate makefiles

* fix warning

* fix build errors

* run code formatter

* antialias fix
2021-11-26 12:44:10 +01:00