From c0b93a9e7cc5174658b0cb4e76b302d144d7f8a2 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 20 Nov 2025 17:33:59 +0100 Subject: [PATCH] render/pixman: add support for ABGR16161616 PIXMAN_a16b16g16r16 has been added in Pixman in this commit: https://gitlab.freedesktop.org/pixman/pixman/-/commit/c0d38585f14411db88ee0b824dd6ee9a2e182c2b --- render/pixman/meson.build | 2 +- render/pixman/pixel_format.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/render/pixman/meson.build b/render/pixman/meson.build index c8fb875c0..dea96b096 100644 --- a/render/pixman/meson.build +++ b/render/pixman/meson.build @@ -1,4 +1,4 @@ -pixman = dependency('pixman-1') +pixman = dependency('pixman-1', version: '>=0.46.0') wlr_deps += pixman diff --git a/render/pixman/pixel_format.c b/render/pixman/pixel_format.c index 5a460a0a2..c308a2b67 100644 --- a/render/pixman/pixel_format.c +++ b/render/pixman/pixel_format.c @@ -96,6 +96,10 @@ static const struct wlr_pixman_pixel_format formats[] = { .drm_format = DRM_FORMAT_XBGR2101010, .pixman_format = PIXMAN_x2b10g10r10, }, + { + .drm_format = DRM_FORMAT_ABGR16161616, + .pixman_format = PIXMAN_a16b16g16r16, + }, #endif };