softbuffer
softbuffer copied to clipboard
Easily write an image to a window
The example on the README.md file ([Here](https://github.com/rust-windowing/softbuffer#example)) seems to contain structs(?) like `softbuffer::Context` and `softbuffer::Surface` which aren't in the documentation. (nor seem to exist at all?) There's an extremely similar...
Alternative to https://github.com/rust-windowing/softbuffer/pull/95, that avoids API changes. In a release build on an M1 mac, fullscreened at 1440p, this brings the `animation` examples redraw time from about 10ms to 900μs....
* What variants are useful to provide? What errors might a consumer of the library want to actually handle? * Some error variants may only apply to certain methods. Should...
This includes a more clear description of the pixel format expected.
On macOS, the buffer is applied using logical pixels rather than physical pixels so a 100x100 buffer will fill a 100x100 (logical pixels) window even if the window occupies 200x200...
Right now, softbuffer seems to completely ignore the alpha channel. It would be nice if this was supported.
Is it possible to perform vertical sync with this library? i.e. deliver a new frame to the screen every monitor refresh, but not any more frequently? It doesn't seem like...
It would be cool if I could do WCG stuff with this crate. This would take a lot of care to do correctly though. Also see #14
Updates the requirements on [windows-sys](https://github.com/microsoft/windows-rs) to permit the latest version. Release notes Sourced from windows-sys's releases. 0.59.0 This release includes an update to the windows-sys crate only. The windows-sys crate...