Ian Douglas Scott
Ian Douglas Scott
Apparently macOS (and iOS, https://github.com/rust-windowing/softbuffer/issues/43) has a framework called [`IOSurface`](https://developer.apple.com/documentation/iosurface) for exchanging framebuffers and textures between processes, which sounds similar to the idea behind dmabufs on Linux. I think we...
https://github.com/rust-windowing/softbuffer/pull/132 added trait bonds with `?Sized`. `Context` was mentioned there, but if you try to specify that type anywhere, it errors because `Context` and `ContextDispatch` do not have `D: ?Sized`...
Very initial implementation for https://github.com/rust-windowing/softbuffer/issues/98. No conversion support, and Wayland only, but allows listing available formats and selecting which to use. Seems good to get a start on this and...
It looks like `BytesPerRow` (the stride) has some kind of alignment requirement (testing on M1), that doesn't let us just use the width. So for this to work, softbuffer needs...
We need an API to list available pixel formats, and select one. Some considerations: * We want a way to support transparency: https://github.com/rust-windowing/softbuffer/issues/17 * The web backend current converts BGRX...
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...
Implementation of https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/388. I haven't really tested this so far, but also made changes to Mesa to use this (https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29140) so I'll do some testing with that.
So far just exposes the protocol but doesn't do anything. https://github.com/Smithay/smithay/pull/1327 does indeed make that part mostly painless instead of having impl bounds to deal with and a delegate macro.