win : Prohibiting auto-rendering, until elm_win is shown.
authorWonsik Jung <sidein@samsung.com>
Thu, 5 Nov 2015 11:37:11 +0000 (20:37 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 5 Nov 2015 11:39:39 +0000 (20:39 +0900)
commit466c164e1d1b1067df3958b93891ad9ea49a47da
tree33d7a3dc65cbc3a2cc12185218247535017253d2
parent4034204416a558f1d59d611f747c25c914b7efdd
win : Prohibiting auto-rendering, until elm_win is shown.

Summary:
Although elm_win is only created and evas_object_show with elm_win is not called,
evas_rendering works sometimes.
This rendering is not necessary. Because on one is shown and just back buffer is allocated.
This patch is the prohibiting auto-rendering, if elm_win is shown by calling evas_object_show()
It is effective for power consumption and reducing memory.

@fix

Test Plan:
1. elementary_test : checking all menus's working
2. modifed bg_example_02 : updated elm_bg's color by animator without evas_object_show(elm_win)

Reviewers: jpeg, jypark, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D3282
src/lib/elm_win.c