Skip to content

Implement refresh rate limiting #2

Description

@nyaray

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions