50f8f1e8b3
wayland/single-pixel: Add API to check if buffer is opaque black
...
Which is the typical background color we also use for fullscreen
padding. This will allow us to apply optimizations.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3177 >
2024-02-10 17:41:12 +00:00
ff4d87727b
Update license access method
...
Dropped obsolete Free Software Foundation address pointing
to the FSF website instead as suggested by
https://www.gnu.org/licenses/gpl-howto.html
keeping intact the important part of the historical notice
as requested by the license.
Resolving rpmlint reported issue E: incorrect-fsf-address.
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3155 >
2023-08-30 08:48:23 +02:00
ead9a3024c
cleanup: Switch to pragma once
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3157 >
2023-08-07 22:24:36 +00:00
3dd9f15eba
shaped-texture: Start using MetaMultiTexture
...
To be able to later support more complex YUV formats, we need to make
sure that MetaShapedTexture (the one who will actually render the
texture) can use the MetaMultiTexture class.
Co-Authored-By: Robert Mader <robert.mader@collabora.com >
Co-Authored-By: Daniel van Vugt <daniel.van.vugt@canonical.com >
Co-Authored-By: Sebastian Wick <sebastian.wick@redhat.com >
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2191 >
2023-07-25 21:24:35 +00:00
2cb7499735
wayland: Add single pixel buffer support
...
The "single pixel buffer" Wayland protocol extension provides a way for
clients to create 1x1 buffers with a single color, specified by
providing the color channels (red, green and blue) as well as the
alpha channel as a 32 bit unsigned integer.
For now, this is turned into a 1x1 texture. Future potential
improvements is to hook things up to the scanout candidate logic and
turn it into a scanout capable DMA buffer.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2246 >
2022-08-02 12:19:42 +00:00