single-pixel-buffer: new protocol
This protocol allows creating single-pixel buffers. It can be useful to avoid having to allocate a real buffer just to fill it with the same pixel value. Some use-cases include drawing background surfaces or toplevel decorations.
Signed-off-by: Simon Ser contact@emersion.fr
-
Reviewer: @daniels -
3 ACKs: -
3 implementations: -
wlroots: wlroots/wlroots!3428 (merged) -
Mutter: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2246 -
Weston: weston!769 (merged) -
swaybg: https://github.com/swaywm/swaybg/pull/43 -
mpv: https://github.com/mpv-player/mpv/pull/10265 -
gstreamer: gstreamer/gstreamer!2662
-