Replies: 1 comment 3 replies
-
Currently we only support partial rendering one line at the time. That said, if you want to batch uploads of bigger buffer, you can render several lines in your buffer before uploading it.
Yes, this is what we are doing in the rp2040:
So step 4 happens in parallel with the next step1 See code around https://github.com/slint-ui/slint/blob/master/examples/mcu-board-support/pico_st7789.rs#L402 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently for MCU it's possible to do either single line rendering or full screen rendering.
I'm using ESP32 and full screen doesn't fit in memory so I'm using single line rendering, but I could find memory for quarter of the display.
I assume that if I could render in 4 chunks instead of 320 lines, rendering in total would take less time - am I correct with this assumption?
Is there a way to implement rendering for multiple lines, then send them to the display, then render next area and send and so on?
With DMA it could even be done in parallel with double buffering.
Beta Was this translation helpful? Give feedback.
All reactions