Ian Douglas Scott
Ian Douglas Scott
What about the examples for wgpu? Is it `wayfire` that the Raspberry Pi is using as a compositor?
https://github.com/Smithay/wayland-rs/pull/738 is released now, so hopefully this sort of thing won't be happening now.
Using `NonZeroU32` seems to match glutin: https://docs.rs/glutin/latest/glutin/surface/trait.GlSurface.html#tymethod.resize. Meanwhile, https://docs.rs/wgpu/25.0.2/wgpu/type.SurfaceConfiguration.html uses `u32`, but documents `width` and `height` with "Must be the same size as the surface, and nonzero.". (I seem to...
Yeah. Technically it would be possible to port smithay-client-toolkit to run on macOS (I've run wayland-rs on macOS), but you'd expect software not to pull in Wayland dependencies on macOS.
This is relevant for `wl_shm::format`, where it's *probably* valid for the compositor to advertise and the client to use a format that isn't part of the enum, but this isn't...
https://docs.rs/wayland-backend/0.3.7/wayland_backend/sys/client/struct.Backend.html#impl-Downcast-for-T It seems the public API of `wayland-backend` does export types implementing traits from downcast-rs, so this is (at least) technically a breaking API change.
`GlesRenderer::import_shm_buffer` needs synchronization for shared EGL contexts in different threads
To synchronize, we should presumably use `eglCreateSync` after the draw calls, then another renderer using a shared context can `eglWaitSync` on the sync point stored alongside the texture ide. To...
I guess we probably need something like this in the `rs` backend too? `fill_incoming_buffers` will read until `self.in_data` is full, which is defined as ` Buffer::new(2 * MAX_BYTES_OUT)`. Though remaining...
Yeah, the `wl_connection` stuff is internal, but is where the functionality is actually implemented. If the public function has the behavior that 0 means "unlimited" maybe a `Option` would be...
Libwayland requires epoll and eventfd. On BSDs that requires epoll-shim. Does Illumos have something like that? `wayland-backend` in contrast currently has code using `epoll` and `kqueue`, but I've been wondering...