summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2_private.h
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/cserve2/evas_cs2_private.h
parent0d506a7b7369aad8376336497e755092cbe8cb40 (diff)
evas/cserve2: Add cache hit count on image data
Diffstat (limited to '')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_private.h b/src/lib/evas/cserve2/evas_cs2_private.h
index 8d12e693c7..c0ed575f81 100644
--- a/src/lib/evas/cserve2/evas_cs2_private.h
+++ b/src/lib/evas/cserve2/evas_cs2_private.h
@@ -14,6 +14,7 @@ typedef struct _Shared_Buffer Shared_Buffer;
14struct _Data_Entry 14struct _Data_Entry
15{ 15{
16 unsigned int image_id; 16 unsigned int image_id;
17 unsigned int hit_count;
17 void (*preloaded_cb)(void *, Eina_Bool); 18 void (*preloaded_cb)(void *, Eina_Bool);
18 struct { 19 struct {
19 const char *path; 20 const char *path;
@@ -81,6 +82,7 @@ Eina_Bool evas_cserve2_image_preload(Image_Entry *ie, void (*preloaded_cb)(void
81void evas_cserve2_dispatch(void); 82void evas_cserve2_dispatch(void);
82 83
83void *evas_cserve2_image_data_get(Image_Entry *ie); 84void *evas_cserve2_image_data_get(Image_Entry *ie);
85unsigned int evas_cserve2_image_hit(Image_Entry *ie);
84 86
85Font_Entry *evas_cserve2_font_load(const char *source, const char *name, int size, int dpi, Font_Rend_Flags wanted_rend); 87Font_Entry *evas_cserve2_font_load(const char *source, const char *name, int size, int dpi, Font_Rend_Flags wanted_rend);
86EAPI int evas_cserve2_font_load_wait(Font_Entry *fe); 88EAPI int evas_cserve2_font_load_wait(Font_Entry *fe);