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

Implement refresh rate limiting #2

Open
nyaray opened this issue Jun 22, 2019 · 0 comments
Open

Implement refresh rate limiting #2

nyaray opened this issue Jun 22, 2019 · 0 comments

Comments

@nyaray
Copy link

nyaray commented Jun 22, 2019

Some ideas for how this could be done:

  • A minimum amount of time between pushes
  • A period for how often to check for changes

These periods should probably be configurable, with a sane default, given the amount of time it takes to redraw. Another option could be to have the driver check if it's been pushing pixels with timeouts set as the policy for too long.

Maybe an additional :push value, {:update_after, time}, would be enough to ensure that we draw, but don't flood the display with updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant