Go to file
Matthew Gordon 35785dbf01 Redraw continuously instead of busy-waiting at 100% CPU
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.
2024-11-14 20:51:23 -04:00
src Redraw continuously instead of busy-waiting at 100% CPU 2024-11-14 20:51:23 -04:00
web Stub in basic wgpu framework; just draw triangle right now 2024-07-12 17:27:27 -03:00
.gitattributes Add Flying Fox photo 2022-02-01 12:03:59 -05:00
.gitignore Vulkan WIP 2024-01-18 19:37:03 -04:00
Cargo.lock Draw unlit cube when DEM is loaded 2024-11-14 12:51:24 -04:00
Cargo.toml Draw unlit cube when DEM is loaded 2024-11-14 12:51:24 -04:00
LICENSE Initial commit 2022-02-01 10:38:48 -05:00
README.md Scale down fox image 2024-07-11 11:05:28 -03:00
Spectacled_flying_fox.jpg Scale down fox image 2024-07-11 11:05:28 -03:00

README.md

Pteropus

Make beautiful maps.

Image of Spectacled Flying Fox

Spectacled Flying Fox image By CSIRO, Creative Commons Attribution 3.0 Link