Commit Graph

2 Commits

Author SHA1 Message Date
Ayke van Laethem 9b5840e3cd pixel: add Split method
This method is useful to split a buffer in two parts, so that the two
parts can be used independently.
2023-12-08 21:53:25 +01:00
Ayke van Laethem f96a70915e pixel: add package for efficiently working with raw pixel buffers
This has been optimized for working with SPI displays like the ST7789.
By working directly in the native color format of the display, graphics
operations can be much, _much_ faster.

Also, this makes it easier to use a different color format like RGB444
simply by changing the generic type.
2023-11-23 17:27:00 +01:00