|
|
@ -99,8 +99,8 @@ static const struct planar_layout triplanar_yuv_420_layout = { |
|
|
|
|
|
|
|
|
|
|
|
static const struct format_conversion conversions[] = { |
|
|
|
static const struct format_conversion conversions[] = { |
|
|
|
{ GBM_FORMAT_RGB565, VIRGL_FORMAT_B5G6R5_UNORM }, |
|
|
|
{ GBM_FORMAT_RGB565, VIRGL_FORMAT_B5G6R5_UNORM }, |
|
|
|
{ GBM_FORMAT_ARGB8888, VIRGL_FORMAT_B8G8R8A8_UNORM }, |
|
|
|
{ GBM_FORMAT_ABGR8888, VIRGL_FORMAT_B8G8R8A8_UNORM }, |
|
|
|
{ GBM_FORMAT_XRGB8888, VIRGL_FORMAT_B8G8R8X8_UNORM }, |
|
|
|
{ GBM_FORMAT_XBGR8888, VIRGL_FORMAT_B8G8R8X8_UNORM }, |
|
|
|
{ GBM_FORMAT_ABGR16161616F, VIRGL_FORMAT_R16G16B16A16_FLOAT }, |
|
|
|
{ GBM_FORMAT_ABGR16161616F, VIRGL_FORMAT_R16G16B16A16_FLOAT }, |
|
|
|
{ GBM_FORMAT_NV12, VIRGL_FORMAT_NV12 }, |
|
|
|
{ GBM_FORMAT_NV12, VIRGL_FORMAT_NV12 }, |
|
|
|
{ GBM_FORMAT_ABGR8888, VIRGL_FORMAT_R8G8B8A8_UNORM}, |
|
|
|
{ GBM_FORMAT_ABGR8888, VIRGL_FORMAT_R8G8B8A8_UNORM}, |
|
|
|