CWriter and nano-gui Performance boost. Sharp displays.
Posted: Thu Oct 08, 2020 7:44 am
Thanks to a contribution from @jimmo rendering text to color displays can be greatly speeded up merely by copying a native C .mpy file to the target. This is detailed here. In addition to the framebuf_utils.mpy you will need to update writer.py. There is no need to update nano-gui: this uses the CWriter class for color displays and will automatically gain the improvement.
In my tests the performance boost to glyph rendering was 5x, but this is likely to be dependent on font size.
This has no effect on monochrome displays which already use fast rendering.
See also support for Sharp displays.
In my tests the performance boost to glyph rendering was 5x, but this is likely to be dependent on font size.
This has no effect on monochrome displays which already use fast rendering.
See also support for Sharp displays.