devilhorns pushed a commit to branch master.

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

commit 0c9011d9e0bd23ef6f8b7137328e461dbf9a0e0a
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Nov 2 09:27:56 2015 -0500

    evas-gl-drm: Fix issue of gl_drm engine not working
    
    Summary: With linux kernels >= 4.2.x, the gl_drm engine was not
    functional. This is due to the egl config returning an improper config
    which did not match the expected pixel format. This commit fixes that
    issue and gl_drm evas engine works again. Should fix ticket T2807
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/evas/engines/gl_drm/evas_outbuf.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/modules/evas/engines/gl_drm/evas_outbuf.c 
b/src/modules/evas/engines/gl_drm/evas_outbuf.c
index ca4f3e1..cde72b1 100644
--- a/src/modules/evas/engines/gl_drm/evas_outbuf.c
+++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c
@@ -191,24 +191,18 @@ _evas_outbuf_egl_setup(Outbuf *ob)
    ctx_attr[1] = 2;
    ctx_attr[2] = EGL_NONE;
 
-   cfg_attr[n++] = EGL_BUFFER_SIZE;
-   cfg_attr[n++] = 32;
-   cfg_attr[n++] = EGL_DEPTH_SIZE;
-   cfg_attr[n++] = EGL_DONT_CARE;
-   cfg_attr[n++] = EGL_STENCIL_SIZE;
-   cfg_attr[n++] = EGL_DONT_CARE;
    cfg_attr[n++] = EGL_RENDERABLE_TYPE;
    cfg_attr[n++] = EGL_OPENGL_ES2_BIT;
    cfg_attr[n++] = EGL_SURFACE_TYPE;
    cfg_attr[n++] = EGL_WINDOW_BIT;
-#if 0
+
    cfg_attr[n++] = EGL_RED_SIZE;
    cfg_attr[n++] = 1;
    cfg_attr[n++] = EGL_GREEN_SIZE;
    cfg_attr[n++] = 1;
    cfg_attr[n++] = EGL_BLUE_SIZE;
    cfg_attr[n++] = 1;
-#endif
+
 
    cfg_attr[n++] = EGL_ALPHA_SIZE;
    if (ob->destination_alpha) cfg_attr[n++] = 1;

-- 


Reply via email to