VIFEX
ed5d528de8
chore(vg_lite): remove duplicate parameter judgments ( #5960 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2024-03-27 08:52:31 +01:00
Michael Simon
352420cd54
refacter(conf): use defines for standard includes ( #5767 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
Co-authored-by: Neo Xu <neo.xu1990@gmail.com >
2024-03-20 12:10:33 +08:00
Johannes Marbach
152dc0b2be
feat(draw): add convenience methods for safely getting correct draw descriptor ( #5505 )
2024-01-29 08:19:58 +01:00
Karl Andersson
e3b747f044
fix: removed LV_ATTRIBUTE_FAST_MEM function attribute from prototypes ( #5467 )
2024-01-25 09:40:40 +01:00
Neo Xu
e217674295
chore: move lv_obj_t define to lv_types.h ( #5161 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com >
2024-01-03 21:44:36 +01:00
_VIFEXTech
0447443029
fix(draw_line): use lv_point_precise_t to describe coordinates ( #4858 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2023-11-24 13:41:43 +01:00
Gabor Kiss-Vamosi
9d993bd15f
feat(line, triangle): add float support for points
2023-10-31 14:16:10 +01:00
Gabor Kiss-Vamosi
f753265a79
arch(draw): add parallel rendering architecture
...
BREAKING CHANGE
This is a huge update which introduces parallel rendering. lv_conf.h needs to be updated too.
2023-07-05 13:05:19 +02:00
_VIFEXTech
540c028d60
feat(profiler): add performance profiler hook ( #4211 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2023-05-11 11:10:47 +02:00
Gabor Kiss-Vamosi
5369d7d473
arch(conf, api) refactor lv_conf and some API ( #3501 )
...
Kconfig and MicroPython config is not updated yet.
* start to refactor lv_conf.h
* further mem refactoring
* create lv_mem_builtin.c/h
* update lv_conf_internal.h
* add lv_strlen and lv_strncpy
* rename LV_DRAW_COMPLEX to LV_USE_DRAW_MASK
* update lv_conf_template
* minor fix
2022-07-19 13:31:42 +02: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
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
Mariotaku
efc5bb40d9
feat(drawing) hardware accelerated rendering by SDL2 ( #2484 )
...
* Hardware accelerated SDL render WIP
* Rect drawing code cleanup
* Fixed arc drawing angle
Fixed compact rect drawing
* Refactoring
Fixed cache deinit order
* Image recolor
Drawing left and right border
* Math problems
* Improving draw cache
* Improving line drawing logic
* Improving arc drawing quality
* Added round function
* Attempts to render properly on Pi
* Updated lruc function names
* Updated symbol names
* Saved ram by reusing part of background rect
* Added outline drawing
Removed arc texture caching
* rect drawing cache rendering
* high efficiency rect shadow texture caching
* fixed simple borders drawing
* fixed generic borders drawing
* Simplified text atlas caching logic
Supports chroma keyed image
* Color palette WIP
* Improved draw cache
* Updated defines for better build
* renaming files for better consistency
* fix includes
* Updated lv_conf_internal with generator
* Fixing build issues
* fixed img rotation pivot
* better font atlas caching WIP
* fix includes
* full font atlas support
improved gpu caching for rect
* update conf header
* fix palette creation
* Fixed font atlas key matching
* fixed chroma key image background
* added 3bpp mask palette (WIP)
* fixed caching key initialization
* disabled gpu arc drawing for now
updated naming convention
* updated naming convention
* fix makefile and include path
* improved rect drawing when having masks
* improved rect drawing when having masks
* reduced texture allocation while drawing with mask
* accurate clipping for rects and texts
* fixed build error
* fixed build error
* line drawing WIP
* updated imports
* fixed freezes if LRU has smaller new item
* fixed clipping rect color
* fixed build error
* using built-in free function for LRU key
* Added custom background drawing function
* fixing imports
* fixed shadow bitmap on old SDL libs
* improved draw_img compatibility
* fixing font baking
* fixed font rendering
* fixed lv_draw_line check
* configurable SDL include path
* disabled SDL line drawing implementation
* supports screen resize
* sdl: Remove duplicated object
Observed issue:
/usr/bin/ld: lv_gpu_sdl_texture_cache.o: \
in function `_lv_gpu_sdl_texture_cache_init':
lv_gpu_sdl_texture_cache.c:(.text+0x30): \
multiple definition of `_lv_gpu_sdl_texture_cache_init'; \
lv_gpu_sdl_texture_cache.o:lv_gpu_sdl_texture_cache.c:(.text+0x30): \
first defined here
Forwarded: https://github.com/mariotaku/lvgl/pull/1
Relate-to: https://github.com/lvgl/lvgl/pull/2484
Signed-off-by: Philippe Coval <philippe.coval@huawei.com >
* Reduced opening of image
* Closes image resource properly
* improved draw image logic
* Moved driver related code to lv_drivers
* fixed lv_deinit implicit sdl code invocation
* improved shadow clipping
* fixed outline area invalidation
* updated comments
* formatted code using astyle
* Updated README
* formatted code
* fixed typo
* fixed static declaration
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
Co-authored-by: Philippe Coval <philippe.coval@huawei.com >
2021-09-16 18:20:32 +02:00
Gabor Kiss-Vamosi
d67dd943ca
format run code-formtter.sh
...
related to #2543
2021-09-13 14:06:26 +02:00
Gabor Kiss-Vamosi
a8427915c7
perf(draw) ignore masks if they don't affect the current draw area
2021-08-05 17:39:59 +02:00
Gabor Kiss-Vamosi
637b706ddc
perf(draw) reimplement circle drawing algorithms ( #2374 )
...
* perf(draw) reimplement circle drawing algorithms
Imporve the speed of circle drawing
Add circle draw caching
Various other speed improvements
* docs describe how to use masks
* fix(draw) add missing GC root usage
2021-07-27 19:16:00 +02:00
Gabor Kiss-Vamosi
5d4c9fac83
fix(include) remove unused stdio includes
2021-04-24 17:27:41 +02:00
Xiang Xiao
9254a7ea14
fix(comment): remove the space after /* and before */
2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
87c4a0ffef
fix conflicts
2021-03-17 10:24:48 +01:00
Gabor Kiss-Vamosi
0cc1e99ddf
remove the lv_ prefix from the directories in the src folder
2021-03-16 20:36:27 +01:00