esp-bsp
esp-bsp copied to clipboard
Component esp_lvgl_port, can SIMD instructions be used to speed up LVGL swapping bytes? (BSP-293)
I am more curious whether SIMD instructions can speed up the LVGL drawing UI process?
They definitely can be used to speed up color fill and similar operations. LVGL project is implementing the parallel drawing framework, which will allow the port layer to define handlers for specific drawing tasks (see this discussion). According to @kisvegabor the release of LVGL with these changes is planned in autumn (https://github.com/lvgl/lvgl/issues/4011#issuecomment-1491501750). Then we will implement some of the drawing tasks using SIMD instructions.
I confirm it! :slightly_smiling_face:
@modi12jin Can I close this ticket as answered?
Since v9 LVGL has some built-in ASM accelerators. See an example for the usage here.
Somewhere Espressif described that maintaining the ESP-ASM on ESP's side would be more beneficial, but I don't know if there is a final decision about it. Having them in LVGL could be beneficial to avoid compatibility issues though.