diff options
-rw-r--r-- | render/pixel_format.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/render/pixel_format.c b/render/pixel_format.c index bfb0dc92..68b8b877 100644 --- a/render/pixel_format.c +++ b/render/pixel_format.c @@ -62,6 +62,30 @@ static const struct wlr_pixel_format_info pixel_format_info[] = { .bpp = 16, .has_alpha = false, }, + { + .drm_format = DRM_FORMAT_XBGR2101010, + .opaque_substitute = DRM_FORMAT_INVALID, + .bpp = 32, + .has_alpha = false, + }, + { + .drm_format = DRM_FORMAT_ABGR2101010, + .opaque_substitute = DRM_FORMAT_XBGR2101010, + .bpp = 32, + .has_alpha = true, + }, + { + .drm_format = DRM_FORMAT_XBGR16161616F, + .opaque_substitute = DRM_FORMAT_INVALID, + .bpp = 64, + .has_alpha = false, + }, + { + .drm_format = DRM_FORMAT_ABGR16161616F, + .opaque_substitute = DRM_FORMAT_XBGR16161616F, + .bpp = 64, + .has_alpha = true, + }, }; static const size_t pixel_format_info_size = |