forked from enlightenment/efl
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:
parent
8287202c43
commit
face34767f
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue