Only draw when necessary
Closed this issue · 2 comments
jpreiss commented
We use an interval-scheduled function to poll the keyboard and implement key repeat manually.
Annoyingly, Pyglet always redraws windows once you add an interval-scheduled function to the clock. There does not appear to be any path whereby the scheduled function can inform the main loop if it actually wants a redraw or not.
We need some other way to implement keyboard polling without triggering redraws, and also some way to continuous redraws during dissolve animations.