summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache2
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-09-09 13:57:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:15 +0900
commitfc73405c40653a5fc0166690e3657ffd87069efc (patch)
treeb6fc15bc9e1babdbfed3ea0566d35c5f2d5c6b65 /src/lib/evas/cache2
parent0d506a7b7369aad8376336497e755092cbe8cb40 (diff)
evas/cserve2: Add cache hit count on image data
Diffstat (limited to 'src/lib/evas/cache2')
-rw-r--r--src/lib/evas/cache2/evas_cache2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c
index 0444741289..fc7982d5ba 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -982,7 +982,10 @@ evas_cache2_image_load_data(Image_Entry *ie)
982 int error = EVAS_LOAD_ERROR_NONE; 982 int error = EVAS_LOAD_ERROR_NONE;
983 983
984 if ((ie->flags.loaded) && (!ie->animated.animated)) 984 if ((ie->flags.loaded) && (!ie->animated.animated))
985 return error; 985 {
986 evas_cserve2_image_hit(ie);
987 return EVAS_LOAD_ERROR_NONE;
988 }
986 989
987 ie->flags.in_progress = EINA_TRUE; 990 ie->flags.in_progress = EINA_TRUE;
988 991