diff options
author | Damien George <damien.p.george@gmail.com> | 2016-12-01 16:51:31 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-12-01 16:51:31 +1100 |
commit | a081b49d55ef409d612666d79a97e79259c8adba (patch) | |
tree | 1a4e39aab4ca6e8cf674fb94e48d033a1ce6d151 /stmhal/sdcard.c | |
parent | 81e171b7bb38cff377ca389cd6fb179aea325998 (diff) | |
download | micropython-a081b49d55ef409d612666d79a97e79259c8adba.tar.gz micropython-a081b49d55ef409d612666d79a97e79259c8adba.zip |
extmod/modframebuf: Optimise fill and fill_rect methods.
Fill is a very common operation (eg to clear the screen) and it is worth
optimising it, by providing a specialised fill_rect function for each
framebuffer format.
This patch improved the speed of fill by 10 times for a 16-bit display
with 160*128 pixels.
Diffstat (limited to 'stmhal/sdcard.c')
0 files changed, 0 insertions, 0 deletions