evas-wayland-egl: Don't resize gl_context during first_rect
authorChris Michael <cp.michael@samsung.com>
Mon, 18 Aug 2014 20:09:57 +0000 (16:09 -0400)
committerChris Michael <cp.michael@samsung.com>
Mon, 18 Aug 2014 20:09:57 +0000 (16:09 -0400)
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 <cp.michael@samsung.com>
src/modules/evas/engines/wayland_egl/evas_wl_main.c

index e2eaf0b8932daac2a7d67c864cef60277a9c97c6..f64dabc5cd79794b058160f298a06ad09d87f1d7 100644 (file)
@@ -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);