diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-06-22 21:20:34 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-06-22 21:20:34 (GMT) |
| commit | 04a8daeff4bef4649d12ce78e6949c9d744a238b (patch) | |
| tree | a60ff492c90e56075d0dda906af24dd63b799661 /bootloader | |
| parent | d81e8e75aca512e156e5af610db6026b9cb785dd (diff) | |
draw565: Optimize filled rectangle drawing
The original approach is *really* bad at drawing vertical lines (it ends
up working a pixel at a time and works the chip select for each one.
Optimize both the pixel fill and the use of the line buffer. The result
is 20% faster for quarter screen fills, 3x for horizontal lines and 6x
for vertical lines.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'bootloader')
0 files changed, 0 insertions, 0 deletions
