mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-20 04:30:04 +01:00
render/pixman: add support for ABGR16161616
PIXMAN_a16b16g16r16 has been added in Pixman in this commit:
c0d38585f1
This commit is contained in:
parent
322291cdcf
commit
c0b93a9e7c
2 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
pixman = dependency('pixman-1')
|
pixman = dependency('pixman-1', version: '>=0.46.0')
|
||||||
|
|
||||||
wlr_deps += pixman
|
wlr_deps += pixman
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue