wlroots/render
Simon Ser e69e1b5f7a render/pixel_format: generate tables via kdfs
Leverage go-kdfs [1] to automatically generate tables (basic info
for single-plane formats, YUV list, opaque list). This allows us
to drop our manually written tables and check format info in a kdfs
viewer (the kdfs CLI or pixfmtdb) to ensure it's correct.

Add a new gen-pixel-format ninja target to regenerate tables. Tables
are checked in Git instead of being generated at build-time, so
that the kdfs CLI isn't a build-time dependency.

block_width/block_height are now never zero.

[1]: https://gitlab.freedesktop.org/emersion/go-kdf
2026-03-27 18:58:14 +01:00
..
allocator render/allocator: add missing wlr_buffer_finish() in destroy impls 2025-12-20 15:02:08 -05:00
gles2 render: explicit sync for wlr_texture_read_pixels() 2026-03-26 12:44:09 +00:00
pixman treewide: make type-check helpers take const pointers 2026-03-06 16:04:21 +08:00
vulkan render: explicit sync for wlr_texture_read_pixels() 2026-03-26 12:44:09 +00:00
color.c render/color: assert that wlr_color_transform_pipeline contains no NULLs 2025-12-18 14:58:28 +00:00
color_fallback.c render/color: replace COLOR_TRANSFORM_LUT_3D with COLOR_TRANSFORM_LCMS2 2025-06-16 09:06:10 +00:00
color_lcms2.c render/color: replace COLOR_TRANSFORM_LUT_3D with COLOR_TRANSFORM_LCMS2 2025-06-16 09:06:10 +00:00
dmabuf.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
dmabuf_fallback.c render/dmabuf: add dmabuf_export_sync_file() 2022-12-06 14:54:09 +00:00
dmabuf_linux.c render: drop <linux/dma-buf.h> compat defines 2026-01-04 00:30:34 +00:00
drm_format_set.c render/drm_format_set: fix corruption in wlr_drm_format_set_remove() 2024-11-28 19:14:31 +00:00
drm_syncobj.c render/drm_syncobj: add wlr_drm_syncobj_timeline_signal() 2026-03-17 18:13:10 +00:00
drm_syncobj_merger.c drm/syncobj: add timeline point merger utility 2026-03-17 18:14:35 +00:00
egl.c treewide: fix typos 2026-02-28 04:26:47 -03:00
gen_pixel_format.sh render/pixel_format: generate tables via kdfs 2026-03-27 18:58:14 +01:00
meson.build render/pixel_format: generate tables via kdfs 2026-03-27 18:58:14 +01:00
pass.c render/pass: Ensure the precision is consistent during comparison 2025-05-29 21:50:21 +08:00
pixel_format.c render/pixel_format: generate tables via kdfs 2026-03-27 18:58:14 +01:00
pixel_format_table.c render/pixel_format: generate tables via kdfs 2026-03-27 18:58:14 +01:00
swapchain.c swapchain: assert that size is not empty at creation time 2025-06-16 07:54:00 +00:00
wlr_renderer.c Fix/cleanup includes a bit 2025-04-15 20:13:29 +03:00
wlr_texture.c wlr_texture: Introduce wlr_texture_preferred_read_format 2023-11-30 19:56:54 -05:00