* edje: Add a cache for _edje_part_recalc_single.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 10 Aug 2009 15:16:51 +0000 (15:16 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 10 Aug 2009 15:16:51 +0000 (15:16 +0000)
commit47a4ee204ab77e0a759cf4a4a9f6533734f782b7
tree08a2c6f8d3fbfb1ccb9a96bde787690d981fa47e
parent04034a85333bea0727109be37e8d28b5ea9f802e
* edje: Add a cache for _edje_part_recalc_single.

WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH
YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF.

Note: This patch cache the result of _edje_part_recalc_single, until
any relative part are moved, the object is resized or some property
are changed (like during text set or color class set).

Note: Be carefull when you call edje_object_size_min_restricted_calc,
it's really an inderect heavy user of _edje_part_recalc_single and
I wasn't able to bring it down.

Note: This patch use more RAM, around 480 bytes per Edje state, so I
don't recommand using it on a Desktop with a lot of CPU power.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41663 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
configure.ac
src/lib/edje_calc.c
src/lib/edje_callbacks.c
src/lib/edje_embryo.c
src/lib/edje_load.c
src/lib/edje_private.h
src/lib/edje_smart.c
src/lib/edje_util.c