Commit 9d3fefdc authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer

gbm: Add GBM_FORMAT_ARGB1555 support

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
parent e7e033ed
......@@ -552,6 +552,10 @@ static const struct gbm_dri_visual gbm_dri_visuals_table[] = {
GBM_FORMAT_GR88, __DRI_IMAGE_FORMAT_GR88,
{ 0x000000ff, 0x0000ff00, 0x00000000, 0x00000000 },
},
{
GBM_FORMAT_ARGB1555, __DRI_IMAGE_FORMAT_ARGB1555,
{ 0x00007c00, 0x000003e0, 0x0000001f, 0x00008000 },
},
{
GBM_FORMAT_RGB565, __DRI_IMAGE_FORMAT_RGB565,
{ 0x0000f800, 0x000007e0, 0x0000001f, 0x00000000 },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment