[Mesa-dev] [PATCH 5/6] gbm dri backend: add YUYV support
Zhao halley
halley.zhao at intel.com
Thu May 31 02:24:02 PDT 2012
---
src/gbm/backends/dri/gbm_dri.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
mode change 100644 => 100755 src/gbm/backends/dri/gbm_dri.c
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
old mode 100644
new mode 100755
index e5ddfb6..cefcc1a
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -331,6 +331,9 @@ gbm_dri_to_gbm_format(uint32_t dri_format)
case __DRI_IMAGE_FORMAT_ABGR8888:
ret = GBM_FORMAT_ABGR8888;
break;
+ case __DRI_IMAGE_FORMAT_YUYV:
+ ret = GBM_FORMAT_YUYV;
+ break;
default:
ret = 0;
break;
--
1.7.5.4
More information about the mesa-dev
mailing list