render/pixman: add support for ABGR16161616

PIXMAN_a16b16g16r16 has been added in Pixman in this commit:
c0d38585f1
This commit is contained in:
Simon Ser 2025-11-20 17:33:59 +01:00 committed by Simon Zeni
parent 322291cdcf
commit c0b93a9e7c
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,4 @@
pixman = dependency('pixman-1') pixman = dependency('pixman-1', version: '>=0.46.0')
wlr_deps += pixman wlr_deps += pixman

View file

@ -96,6 +96,10 @@ static const struct wlr_pixman_pixel_format formats[] = {
.drm_format = DRM_FORMAT_XBGR2101010, .drm_format = DRM_FORMAT_XBGR2101010,
.pixman_format = PIXMAN_x2b10g10r10, .pixman_format = PIXMAN_x2b10g10r10,
}, },
{
.drm_format = DRM_FORMAT_ABGR16161616,
.pixman_format = PIXMAN_a16b16g16r16,
},
#endif #endif
}; };