Merge branch 'matthiasc/for-master' into 'master'

wayland: Complete our buffer format listing

See merge request GNOME/gtk!3207
This commit is contained in:
Matthias Clasen 2021-02-16 04:33:08 +00:00
commit 27071b5cfb

View File

@ -339,6 +339,48 @@ get_format_name (enum wl_shm_format format)
FORMAT(YVU422),
FORMAT(YUV444),
FORMAT(YVU444),
FORMAT(R8),
FORMAT(R16),
FORMAT(RG88),
FORMAT(GR88),
FORMAT(RG1616),
FORMAT(GR1616),
FORMAT(XRGB16161616F),
FORMAT(XBGR16161616F),
FORMAT(ARGB16161616F),
FORMAT(ABGR16161616F),
FORMAT(XYUV8888),
FORMAT(VUY888),
FORMAT(VUY101010),
FORMAT(Y210),
FORMAT(Y212),
FORMAT(Y216),
FORMAT(Y410),
FORMAT(Y412),
FORMAT(Y416),
FORMAT(XVYU12_16161616),
FORMAT(XVYU16161616),
FORMAT(Y0L0),
FORMAT(X0L0),
FORMAT(Y0L2),
FORMAT(X0L2),
FORMAT(YUV420_8BIT),
FORMAT(YUV420_10BIT),
FORMAT(XRGB8888_A8),
FORMAT(XBGR8888_A8),
FORMAT(RGBX8888_A8),
FORMAT(BGRX8888_A8),
FORMAT(RGB888_A8),
FORMAT(BGR888_A8),
FORMAT(RGB565_A8),
FORMAT(BGR565_A8),
FORMAT(NV24),
FORMAT(NV42),
FORMAT(P210),
FORMAT(P010),
FORMAT(P012),
FORMAT(P016),
{ 0xffffffff, NULL }
};
#undef FORMAT