edje: replace 4000x4000 min size limitarion with loop count restriction. 15/76515/3
authorYoungbok Shin <youngb.shin@samsung.com>
Thu, 23 Jun 2016 17:11:39 +0000 (10:11 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Thu, 30 Jun 2016 06:44:16 +0000 (23:44 -0700)
commite6f35c2e7a84c9e4ebe3a8716b655053ac784060
treeba4626ee654c41779f732f212c06db84ef64c68c
parent18048d52bd1af2725cfe6f0ab1ab4064bbbc7f39
edje: replace 4000x4000 min size limitarion with loop count restriction.

Summary:
4000x4000 min size limitation was added to prevent infinite
calculation loop. But, it can ruin calculation of some proper Edjes.
Normally, properly generated Edje runs the calculation loop below 10 times.
So, "255" could be proper limitation for calculation loop.
It also make better performance for broken Edje.

Test Plan: N/A

Reviewers: raster, Hermet, woohyun, cedric

Reviewed By: cedric

Subscribers: jpeg, z-wony, Blackmole

Differential Revision: https://phab.enlightenment.org/D4075

Change-Id: I17d7697e8aa211efcc8c2a29ac63ab148cb0afab
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/edje/edje_util.c