[Mesa-dev] [PATCH 6/6] wayland-drm: add YUYV support
Zhao halley
halley.zhao at intel.com
Thu May 31 02:24:03 PDT 2012
---
src/egl/wayland/wayland-drm/wayland-drm.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
mode change 100644 => 100755 src/egl/wayland/wayland-drm/wayland-drm.c
diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c
old mode 100644
new mode 100755
index 5f831b3..eea3610
--- a/src/egl/wayland/wayland-drm/wayland-drm.c
+++ b/src/egl/wayland/wayland-drm/wayland-drm.c
@@ -111,6 +111,7 @@ drm_create_buffer(struct wl_client *client, struct wl_resource *resource,
switch (format) {
case WL_DRM_FORMAT_ARGB8888:
case WL_DRM_FORMAT_XRGB8888:
+ case WL_DRM_FORMAT_YUYV:
break;
default:
wl_resource_post_error(resource,
--
1.7.5.4
More information about the mesa-dev
mailing list