projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
672fab0
)
gbm-dri: Support importing RGB565 buffers
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 18 Oct 2013 04:21:41 +0000
(21:21 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 22 Oct 2013 03:56:17 +0000
(20:56 -0700)
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 661306c9f4400f344941cb834ab83f2a244895f7..ba148ec73d483c98ca17a1dde20b7f7e5e0e0d6a 100644
(file)
--- a/
src/gbm/backends/dri/gbm_dri.c
+++ b/
src/gbm/backends/dri/gbm_dri.c
@@
-392,6
+392,9
@@
gbm_dri_bo_import(struct gbm_device *gbm,
case WL_DRM_FORMAT_ARGB8888:
gbm_format = GBM_FORMAT_ARGB8888;
break;
+ case WL_DRM_FORMAT_RGB565:
+ gbm_format = GBM_FORMAT_RGB565;
+ break;
case WL_DRM_FORMAT_YUYV:
gbm_format = GBM_FORMAT_YUYV;
break;