evas_render: Process deferred callback in the sync render case.

Summary:
The EVAS_CALLBACK_RENDER_POST callback has been deferred when the callback is registered during the render(inside_post_render flag on).

In the sync render case, the logic to call deferred callbacks is missing, and callbacks are not being called in certain cases.

@fix

Reviewers: ManMower, Hermet

Reviewed By: Hermet

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8478
This commit is contained in:
Woochanlee 2019-03-27 13:11:15 +09:00 committed by Hermet Park
parent b530b871bc
commit 9367dcc755
1 changed files with 1 additions and 0 deletions

View File

@ -3600,6 +3600,7 @@ evas_render_updates_internal(Evas *eo_e,
if (out->output)
ENFN->output_flush(ENC, out->output, EVAS_RENDER_MODE_SYNC);
_cb_always_call(eo_e, EVAS_CALLBACK_RENDER_FLUSH_POST, NULL);
_deferred_callbacks_process(eo_e, evas);
eina_evlog("-render_output_flush", eo_e, 0.0, NULL);
}
}