Previously, Pteropus would only redraw when the window was resized, but it would continuously poll for events, keeping a CPU core at 100% even when not doing anything. It now automatically queues a new RedrawRequested event after each draw finishes. The view() call will also limit the frame rate to the video refresh rate and block when there are more than three frames queued up, so we're not busywaiting any more. |
||
|---|---|---|
| src | ||
| web | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| Spectacled_flying_fox.jpg | ||
README.md
Pteropus
Make beautiful maps.
Spectacled Flying Fox image By CSIRO, Creative Commons Attribution 3.0 Link
