diff options
author | Michel Dänzer <[email protected]> | 2018-10-05 12:21:37 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2018-10-09 10:32:51 +0200 |
commit | 9d3fefdc41f9a7fc474110aae2abeb884bf69047 (patch) | |
tree | e20a3733792019917ef32e5ac6754959cec8012c /src/gbm/backends | |
parent | e7e033ed8a9eaf3b568a84476c932845a10af795 (diff) |
gbm: Add GBM_FORMAT_ARGB1555 support
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gbm/backends')
-rw-r--r-- | src/gbm/backends/dri/gbm_dri.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index b3d6ceb15a3..35ec3a1c3a2 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -553,6 +553,10 @@ static const struct gbm_dri_visual gbm_dri_visuals_table[] = { { 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 }, }, |