evas: move watching over destruction of device to custom logic due to high use.
authorCedric Bail <cedric.bail@free.fr>
Thu, 31 Oct 2019 17:20:52 +0000 (13:20 -0400)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:20:41 +0000 (11:20 +0900)
commit867d07c58be94f787310da1c54ab66124aefc8ad
treef2af79875cc2054183a28c2e93d45b104ec74f0e
parent9da8bd7e14a4933617d6b3be0b3702c4d043b71c
evas: move watching over destruction of device to custom logic due to high use.

Summary:
This specific EFL_EVENT_DEL handler was registered thousand of time alone on
an Evas device. Potential solution are to improve handling of this kind of large
scale callback logic or just not take that path. I find it easier to have a custom
code in this case to handle the destruction of Evas device and avoid this
thousand of callback.

Depends on D10492

Reviewers: zmike, raster, bu5hm4n, Hermet

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8321

Differential Revision: https://phab.enlightenment.org/D10493
src/lib/evas/Evas_Internal.h
src/lib/evas/canvas/efl_input_device.c
src/lib/evas/canvas/evas_object_main.c
src/lib/evas/include/evas_private.h