ecore_evas_extn: Modify not to send a message if there is nothing to draw
authorWonki Kim <wonki_.kim@samsung.com>
Wed, 9 May 2018 14:46:00 +0000 (23:46 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Thu, 17 May 2018 07:33:56 +0000 (16:33 +0900)
commit3ef90a73fdc368bcfa4d194d89cda5730d95fa7b
tree961d8a5c7c4902101cdc07d394dec34160dce104
parentcbb983a279ee8a80726cf0d8adcaf6d53464e7ef
ecore_evas_extn: Modify not to send a message if there is nothing to draw

Summary:
Seding ipc messages on ews_update_image(which is invoked as a callback of EVAS_RENDER_POST)
can makes ecore main loop awake, because sending ipc messages makes message_queue not empty.

so that this patch prevent seding ipc logic if there is nothing to draw.

Reviewers: cedric, raster

Reviewed By: raster

Subscribers: zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6055

Change-Id: Ibd11e40c5d1edaf2e94a8a00ae309d05c61c4ea1
src/modules/ecore_evas/engines/extn/ecore_evas_extn.c