edje/optimization: refactor edje_color_class_set() api.
authorsubhransu mohanty <sub.mohanty@samsung.com>
Thu, 29 Aug 2019 18:31:52 +0000 (14:31 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Mon, 16 Sep 2019 01:23:00 +0000 (10:23 +0900)
commit23319a5837d1a717bcb44e66a12b61d60d67202e
treee9a85449f2111b8e8deb6c6913cd49136a308538
parent5feeb31e014efa5ed5eab7681df32b5c2a2cb6b5
edje/optimization: refactor edje_color_class_set() api.

Summary:
During _elm_config_color_overlay_apply() application can call this api
100's of time depending on how many overlay it wants add . As each color_class
set triggers the global color class apply chain 3 times (for color , outline and shadow)
just club them once and emit single color_class,set event.

Reviewers: Hermet, ali.alzyod, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9784
src/lib/edje/edje_util.c