summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2_private.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-10-07 15:59:13 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:16 +0900
commit6b6e33e262387380af4507e94a123a352ac6ee1c (patch)
treeca5239ef78104d012135dc977135a2a54dd14de5 /src/lib/evas/cserve2/evas_cs2_private.h
parente74cac57e412bcd71f2cc58ba46d326aef0996c4 (diff)
evas/cserve2: Fix refcount for glyphs & glyph buffers
Maybe a little overkill on the iterations (ref/unref), but at least we can really track down which glyphs are currently being used.
Diffstat (limited to 'src/lib/evas/cserve2/evas_cs2_private.h')
-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 39cc829ca9..253c7e303c 100644
--- a/src/lib/evas/cserve2/evas_cs2_private.h
+++ b/src/lib/evas/cserve2/evas_cs2_private.h
@@ -56,6 +56,7 @@ struct _Shared_Buffer
56 Eina_File *f; 56 Eina_File *f;
57 char *data; 57 char *data;
58 int size; 58 int size;
59 int refcount;
59}; 60};
60 61
61struct _Index_Table 62struct _Index_Table
@@ -89,4 +90,5 @@ void evas_cserve2_font_free(Font_Entry *fe);
89Eina_Bool evas_cserve2_font_glyph_request(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints); 90Eina_Bool evas_cserve2_font_glyph_request(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints);
90Eina_Bool evas_cserve2_font_glyph_used(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints) EINA_WARN_UNUSED_RESULT; 91Eina_Bool evas_cserve2_font_glyph_used(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints) EINA_WARN_UNUSED_RESULT;
91RGBA_Font_Glyph_Out *evas_cserve2_font_glyph_bitmap_get(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints); 92RGBA_Font_Glyph_Out *evas_cserve2_font_glyph_bitmap_get(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints);
93void evas_cserve2_font_glyph_ref(RGBA_Font_Glyph_Out *glyph, Eina_Bool incref);
92#endif 94#endif