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
This commit is contained in:
Seunghun Lee 2015-12-07 10:06:21 -05:00 committed by Chris Michael
parent 8287202c43
commit face34767f
1 changed files with 5 additions and 1 deletions

View File

@ -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))