wasp: drivers: st7789: native code gen for rleblit
This is a useful performance boost... but there is still scope to get this a lot quicker.
This commit is contained in:
parent
0917d5135d
commit
e88165b429
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ class ST7789(object):
|
|||
for y in range(self.height):
|
||||
self.write_data(self.linebuffer)
|
||||
|
||||
@micropython.native
|
||||
def rleblit(self, image, fg=0xffff, bg=0):
|
||||
(sx, sy, rle) = image
|
||||
self.set_window()
|
||||
|
|
Loading…
Reference in a new issue