diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-17 16:08:27 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-17 16:08:27 (GMT) |
| commit | 5abae5a7f63f6841744ad63e7c8bbbb1d8452b37 (patch) | |
| tree | 0b00a22d335198db2febb80e681746cf013d6139 /wasp/draw565.py | |
| parent | 2fe3ac1388aa14bafe25fb525f61bc77dd31fb21 (diff) | |
drivers: st7789: Optimize set_window()
For small graphical items (line drawing, font glyphs) the performance
of the set_window() method is critical.
Emit native code for this function and optimize the SPI write_cmd()
method to avoid memory allocation. This give a performance boost of
a little over 15% for (24pt) font rendering and 30% for line drawing.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/draw565.py')
0 files changed, 0 insertions, 0 deletions
