projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e033e
)
gbm: Add GBM_FORMAT_ARGB1555 support
author
Michel Dänzer
<michel.daenzer@amd.com>
Fri, 5 Oct 2018 10:21:37 +0000
(12:21 +0200)
committer
Michel Dänzer
<michel@daenzer.net>
Tue, 9 Oct 2018 08:32:51 +0000
(10:32 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gbm/backends/dri/gbm_dri.c
patch
|
blob
|
history
diff --git
a/src/gbm/backends/dri/gbm_dri.c
b/src/gbm/backends/dri/gbm_dri.c
index b3d6ceb15a3e4267eb20e1cdd512d71b1d285640..35ec3a1c3a2a1911cf4043229cf7aa7a26f0c091 100644
(file)
--- a/
src/gbm/backends/dri/gbm_dri.c
+++ b/
src/gbm/backends/dri/gbm_dri.c
@@
-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 },