devilhorns pushed a commit to branch master.

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

commit face34767f16ed76a15124fe08ea3bfbff3193f9
Author: Seunghun Lee <beauty.positi...@gmail.com>
Date:   Mon Dec 7 10:06:21 2015 -0500

    evas-wayland-egl: Fix the unnecessary renewal of the engine window.
    
    Summary:
    As we do not set the ob->info->info.win variable anymore inside
    Ecore_Evas (old code that was removed), we can omment out the line.
    This line was causing unnecessary renewal of the engine window (thus
    causing flickering when rotation was applied).
    
    @fix
    
    Test Plan: Rotate or Resize the window on wayland-egl.
    
    Reviewers: gwanglim, devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D3407
---
 src/modules/evas/engines/wayland_egl/evas_engine.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c 
b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 9c199db..629547e 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -677,7 +677,11 @@ eng_setup(Evas *evas, void *info)
              ob->info = inf;
              if ((ob->info->info.display != ob->disp) || 
                  (ob->info->info.surface != ob->surface) || 
-                 (ob->info->info.win != ob->win) || 
+                 /* FIXME: comment out below line.
+                  * since there is no place set the info->info.win for now,
+                  * it causes renew the window unnecessarily.
+                  */
+                 /* (ob->info->info.win != ob->win) || */
                  (ob->info->info.depth != ob->depth) || 
                  (ob->info->info.screen != ob->screen) || 
                  (ob->info->info.destination_alpha != ob->alpha))

-- 


Reply via email to