From 034211051b94681c979b679b0be4347beeb90ee0 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 30 Jun 2017 14:50:52 -0500 Subject: [PATCH] Remove some duplicate dmabuf validity checks These have been moved into EFL where they belong. --- src/bin/e_pixmap.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index c46e9929e..dcb4b0c08 100644 --- a/src/bin/e_pixmap.c +++ b/src/bin/e_pixmap.c @@ -1125,11 +1125,6 @@ e_pixmap_dmabuf_test(struct linux_dmabuf_buffer *dmabuf) if (e_comp->gl || !ret) return ret; - /* TODO: Software rendering for multi-plane formats */ - if (dmabuf->attributes.n_planes != 1) return EINA_FALSE; - if (dmabuf->attributes.format != DRM_FORMAT_ARGB8888 && - dmabuf->attributes.format != DRM_FORMAT_XRGB8888) return EINA_FALSE; - /* This is only legit for ARGB8888 */ size = dmabuf->attributes.height * dmabuf->attributes.stride[0]; data = mmap(NULL, size, PROT_READ, MAP_SHARED, dmabuf->attributes.fd[0], 0);