3 ms·
Often the rendering of GUI elements happens in an off-device image buffer which is then copied periodically to the device. This can be very slow in python if bi
by muth02446 8y ago
Often the rendering of GUI elements happens in an off-device image buffer which is then copied periodically to the device. This can be very slow in python if bit-fiddling is involved. Sometimes utilizing numpy for the copy
can help a lot.
If you want to roll your own, this might be a good starting point:
https://github.com/robertmuth/Pytorinox/blob/master/spi_display.py https://github.com/robertmuth/Pytorinox/blob/master/spi_disp...
It was written for raspi but should be easy to port.