Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer/Iterators Improvements #19

Open
3 tasks
caemor opened this issue Oct 22, 2018 · 0 comments
Open
3 tasks

Buffer/Iterators Improvements #19

caemor opened this issue Oct 22, 2018 · 0 comments
Labels
question Further information is requested

Comments

@caemor
Copy link
Owner

caemor commented Oct 22, 2018

For the two last points:

Current situation:

  1. iterator-based drawing - through embedded-graphics lib
  2. fills "randomly" positioned pixel in bigger buffer (u8-slice) - this happens in Drawable::draw()
  3. Transmit full buffer via spi

What could be changed and improved:

  1. 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
  2. transmit iterator via spi (this would make the linux chunk size limit unecessary)
@caemor caemor added the question Further information is requested label Oct 22, 2018
@caemor caemor changed the title Buffersizes Buffer/iterators Oct 30, 2018
@caemor caemor changed the title Buffer/iterators Buffer/Iterators Oct 30, 2018
@caemor caemor changed the title Buffer/Iterators Buffer/Iterators Improvements Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant