devilhorns pushed a commit to branch master.

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

commit b8ebd5b35621c66fd3759d4a2c952c0524331e78
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Nov 4 09:43:35 2015 -0500

    ecore-evas-gl-drm: Don't create software dumb buffers when using gl
    
    Summary: If we are rendering using gl_drm, then we don't need to be
    creating extra software dumb buffers.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/ecore_evas/engines/drm/ecore_evas_drm.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c 
b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 9bd3087..f7cfc55 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -355,12 +355,6 @@ ecore_evas_gl_drm_new_internal(const char *device, 
unsigned int parent EINA_UNUS
    /* try to init drm */
    if (_ecore_evas_drm_init(device) < 1) return NULL;
 
-   if (!ecore_drm_device_software_setup(dev))
-     {
-        ERR("Could not setup device for software");
-        goto soft_err;
-     }
-
    /* try to load gl libary, gbm libary */
    /* Typically, gbm loads the dri driver However some versions of Mesa
     * do not have libglapi symbols linked in the driver. Because of this,
@@ -501,7 +495,6 @@ ecore_evas_gl_drm_new_internal(const char *device, unsigned 
int parent EINA_UNUS
 
 eng_err:
    ecore_evas_free(ee);
-soft_err:
 ee_err:
    _ecore_evas_drm_shutdown();
    return NULL;

-- 


Reply via email to