wayland-buffer: Enable YCbCr support for wayland shm

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3371>
This commit is contained in:
Sebastian Wick 2023-11-07 14:55:11 +01:00 committed by Marge Bot
parent c8f4c85bfb
commit 59d4343057

View File

@ -1051,6 +1051,10 @@ meta_wayland_init_shm (MetaWaylandCompositor *compositor)
WL_SHM_FORMAT_XRGB16161616F,
WL_SHM_FORMAT_ABGR16161616F,
WL_SHM_FORMAT_XBGR16161616F,
WL_SHM_FORMAT_YUYV,
WL_SHM_FORMAT_NV12,
WL_SHM_FORMAT_P010,
WL_SHM_FORMAT_YUV420,
};
wl_display_init_shm (compositor->wayland_display);