render/pixel-format: add a few 10-bit and FP16 formats
This commit is contained in:
parent
f76960388f
commit
4dc52bcb6c
|
@ -62,6 +62,30 @@ static const struct wlr_pixel_format_info pixel_format_info[] = {
|
||||||
.bpp = 16,
|
.bpp = 16,
|
||||||
.has_alpha = false,
|
.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 =
|
static const size_t pixel_format_info_size =
|
||||||
|
|
Loading…
Reference in New Issue