bernii / embedded-graphics-framebuf

Generic framebuffer implementation in Rust for use with embedded-graphics library
MIT License
26 stars 6 forks source link

Updated examples for improved performance #17

Closed daniel-larsen closed 1 year ago

daniel-larsen commented 1 year ago

Changed the examples to use .fill_contiguous() instead of .draw_iter() as it has better performance on many displays. If the .fill_contiguous() method is not implemented by the display driver it will fall back to .draw_iter().

jounathaen commented 1 year ago

Hi, thank you for the contribution. Could you maybe fix the CI error, then I'd happily merge it!