mstoeckl

Results 38 issues of mstoeckl

At https://github.com/trackballs/trackballs, Trackballs is an arcade game with description 3D marble steering game inspired by Marble Madness

This change adds an option to let sway render onto XBGR16161616F buffers, assuming hardware and drivers support this. To test that this works, run `swaymsg output 'output-name' render_bit_depth 16f`. If...

Compositors will eventually be able to render in and output 10-bit deep colors. It would be nice if `grim` could process screen buffer formats like XBGR2101010 (or even XBGR16161616F) and...

enhancement

When running Sway nested under wayland or x11, it is possible to dynamically resize the outputs. Most of the time, `swaylock` correctly redraws when this is done. However, if rendering...

Some wallpapers are better viewed at higher bit depths than the usual 8bpc -- for example, cameras often capture 10bpc data or higher, artwork and rendered images have >=16bpc working...

enhancement

The `wl_buffer` objects that swaybg creates are always formatted as `WL_SHM_FORMAT_ARGB8888` . The alpha channel is unnecessary when the background image is opaque or a background color is set.

enhancement

This PR matches the **very WIP** wlroots MR [4280](https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4280). This requires the Vulkan renderer to be useful. (Use `WLR_RENDERER=vulkan` ; setting `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation` to enable validation layers may be useful for...

At the moment, when an SVG file is loaded, it is rendered as an image [at the document size](https://gitlab.gnome.org/GNOME/librsvg/-/blob/main/gdk-pixbuf-loader/src/lib.rs#L87); this rendered image is then up- or downscaled onto the buffer...

These two commits resolve https://github.com/swaywm/swaybg/issues/26, by _always_ submitting opaque buffers. This is done by painting the buffers submitted with a uniform color, before drawing the image on top. The default...

This PR lets swaybg use [wp-fractional-scale-v1](https://wayland.app/protocols/fractional-scale-v1) with wp-viewporter to submit buffers that more closely match the real output pixel dimensions. The first commit refactors the code to decouple buffer creation...