derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=66f85dd06cc23a98dd9d57567498139fbc50db2f

commit 66f85dd06cc23a98dd9d57567498139fbc50db2f
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Mon Nov 13 15:16:26 2017 -0600

    wayland_shm: Become unhoseable
    
    Now that shm is handled through these paths the dmabuf_totally_hosed state
    is nonsense.
---
 src/modules/evas/engines/wayland_shm/evas_dmabuf.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c 
b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
index ef0a4bb3d5..df2d5a338b 100644
--- a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
@@ -24,8 +24,6 @@
       }                            \
    } while (0)
 
-static Eina_Bool dmabuf_totally_hosed;
-
 static int drm_fd = -1;
 
 typedef struct _Dmabuf_Surface Dmabuf_Surface;
@@ -446,7 +444,6 @@ err_bm:
 err_drm:
    free(buffer_manager);
 err_alloc:
-   dmabuf_totally_hosed = EINA_TRUE;
    return EINA_FALSE;
 }
 
@@ -749,7 +746,6 @@ _evas_dmabuf_surface_create(Surface *s, int w, int h, int 
num_buff)
    Dmabuf_Surface *surf = NULL;
    int i = 0;
 
-   if (dmabuf_totally_hosed) return EINA_FALSE;
    if (ecore_wl2_display_shm_get(s->info->info.wl2_display))
      types |= ECORE_WL2_BUFFER_SHM;
    if (ecore_wl2_display_dmabuf_get(s->info->info.wl2_display))

-- 


Reply via email to