wlroots-hyprland/types/buffer
Leo Li 71fb55f3bf render/pixel-format: Move has_alpha into it's own array
Some opaque pixel formats (nv12, p010) require per-plane bytes_per_block
info. However, it doesn't make sense to store them in
wlr_pixel_format_info, as they will never be useful (currently, this
info is used for shm, which doesn't have a concept of multi-planar
buffers.)

Let's define a separate array and function for determining whether a
pixel format has alpha.
2024-01-31 13:47:17 -05:00
..
buffer.c render/pixel-format: Move has_alpha into it's own array 2024-01-31 13:47:17 -05:00
client.c treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00
dmabuf.c Use wl_container_of() instead of casts 2023-07-11 20:16:17 +02:00
readonly_data.c Use wl_container_of() instead of casts 2023-07-11 20:16:17 +02:00
resource.c buffer: convert to try_from 2023-10-19 18:19:27 +02:00