You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should more assertions about slice sizes be made or should it just continue to panic (current status) if someone uses a buffer which is too small (see graphics.rs#L35)?
iterator-based drawing - through embedded-graphics lib
fills "randomly" positioned pixel in bigger buffer (u8-slice) - this happens in Drawable::draw()
Transmit full buffer via spi
What could be changed and improved:
nothing
2.1 Fill full byte of 8 pixels (u8) and transmit the iterator of these bytes? questionable
2.2 Use Dimensions traits to only transmit the necessary parts to limit the changed parts and only draw these with update_partial_frame
transmit iterator via spi (this would make the linux chunk size limit unecessary)
The text was updated successfully, but these errors were encountered:
For the two last points:
Current situation:
Drawable::draw()
What could be changed and improved:
2.1 Fill full byte of 8 pixels (u8) and transmit the iterator of these bytes? questionable
2.2 Use Dimensions traits to only transmit the necessary parts to limit the changed parts and only draw these with
update_partial_frame
The text was updated successfully, but these errors were encountered: