diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2022-08-15 09:56:26 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-08-19 23:31:28 +1000 |
commit | c616721b1afe176c8d760afc15a93621d411c1dc (patch) | |
tree | a00fea6f9a43e925bfe8e6f63979a190bcea8cd9 /py/binary.c | |
parent | 04a655c74488128a2c1af9ba8f29fce5e5bbfef9 (diff) |
extmod/modframebuf: Improve poly-fill boundary pixels.
Rather than drawing the entire boundary to catch missing pixels, just
detect the cases where boundary pixels are skipped during node calculation
and pre-emptively draw them then.
This adds 72 bytes on PYBV11, but makes filled poly() 20% faster.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/binary.c')
0 files changed, 0 insertions, 0 deletions