evas-wayland-egl: Fix the unnecessary renewal of the engine window. 78/53578/2 accepted/tizen/mobile/20151210.081107 accepted/tizen/tv/20151210.081217 accepted/tizen/wearable/20151210.081737 submit/tizen/20151210.030157
authorSeunghun Lee <beauty.positive3@gmail.com>
Mon, 7 Dec 2015 15:06:21 +0000 (10:06 -0500)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 9 Dec 2015 07:29:39 +0000 (23:29 -0800)
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

index 326b5b9..903c52d 100755 (executable)
@@ -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))