From 511ce8b009de51bc17c4b1d689ba0d00917ccb03 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Mon, 7 Dec 2015 10:06:21 -0500 Subject: [PATCH] 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 Conflicts: src/modules/evas/engines/wayland_egl/evas_engine.c Change-Id: I8d2fab00c0740da001e0984489eee36f9dd8f55b --- 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 326b5b9..903c52d 100755 --- a/src/modules/evas/engines/wayland_egl/evas_engine.c +++ b/src/modules/evas/engines/wayland_egl/evas_engine.c @@ -948,7 +948,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)) -- 2.7.4