devilhorns pushed a commit to branch master.

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

commit 958a14e416e3624f7310d9f5dd2543c192fd4a92
Author: Chris Michael <[email protected]>
Date:   Mon Aug 18 16:09:57 2014 -0400

    evas-wayland-egl: Don't resize gl_context during first_rect
    
    This is the first part of the wayland-egl engine fix. Don't resize the
    gl_context during the first_rectangle function, and don't set any
    preserve bits on the gl_context
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/wayland_egl/evas_wl_main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/modules/evas/engines/wayland_egl/evas_wl_main.c 
b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
index e2eaf0b..f64dabc 100644
--- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c
+++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
@@ -354,14 +354,11 @@ eng_outbuf_swap_mode_get(Outbuf *ob)
 Eina_Bool 
 eng_outbuf_region_first_rect(Outbuf *ob)
 {
-   ob->gl_context->preserve_bit = GL_COLOR_BUFFER_BIT0_QCOM;
-
    glsym_evas_gl_preload_render_lock(eng_preload_make_current, ob);
 
    eng_window_use(ob);
    if (!_re_wincheck(ob)) return EINA_TRUE;
 
-   glsym_evas_gl_common_context_resize(ob->gl_context, ob->w, ob->h, ob->rot);
    glsym_evas_gl_common_context_flush(ob->gl_context);
    glsym_evas_gl_common_context_newframe(ob->gl_context);
 

-- 


Reply via email to