efl_ui_focus_manager: performance optimize order setting
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Sat, 8 Dec 2018 13:54:48 +0000 (14:54 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:44:55 +0000 (13:44 +0900)
commit5f14c9b412438d9b7258411003a0fccb1934f1cc
tree59fc8a9242251eac1e09ed3523e027b825857b51
parent78e270b864fba1e939ce4358dcf5f28860838235
efl_ui_focus_manager: performance optimize order setting

setting the order is a little bit expensive, this performance optimizes
order setting in the focus manager.  We don't need to set the order each
time something is registered, it is enough to set it once we need the
correct order.

We don't need to evalulate the state in the Manager_Root_Focus if the
rect is not registered. If its not, then another new element cannot
cause the rect to be registered.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7450
src/lib/elementary/efl_ui_focus_manager_calc.c
src/lib/elementary/efl_ui_focus_manager_root_focus.c