evas/cserve2: Set default LRU size to 4Mb or env-based
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 26 Jun 2013 07:31:38 +0000 (16:31 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Tue, 2 Jul 2013 07:58:10 +0000 (16:58 +0900)
commit096a8ece9f056236e915342eeadbcdf5dc025081
treee76d4e79552a861a06cd519987aa95b6ce23099e
parent29bf164c75649b5f567a07ccb2f891c233c4c7e0
evas/cserve2: Set default LRU size to 4Mb or env-based

The LRU should not be limited to 0 byte otherwise all scaled
images will be dropped and reloaded constantly, killing the
performance.
The size is inspired from the scalecache's size of 4Mb.

Variable: EVAS_CSERVE2_SIZE (number in Mb)
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
src/lib/evas/cache2/evas_cache2.c