diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2013-10-07 15:59:13 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2013-10-28 15:47:16 +0900 |
commit | 6b6e33e262387380af4507e94a123a352ac6ee1c (patch) | |
tree | ca5239ef78104d012135dc977135a2a54dd14de5 /src/lib/evas/cserve2/evas_cs2_private.h | |
parent | e74cac57e412bcd71f2cc58ba46d326aef0996c4 (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 '')
-rw-r--r-- | src/lib/evas/cserve2/evas_cs2_private.h | 2 |
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 | ||
61 | struct _Index_Table | 62 | struct _Index_Table |
@@ -89,4 +90,5 @@ void evas_cserve2_font_free(Font_Entry *fe); | |||
89 | Eina_Bool evas_cserve2_font_glyph_request(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints); | 90 | Eina_Bool evas_cserve2_font_glyph_request(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints); |
90 | Eina_Bool evas_cserve2_font_glyph_used(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints) EINA_WARN_UNUSED_RESULT; | 91 | Eina_Bool evas_cserve2_font_glyph_used(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints) EINA_WARN_UNUSED_RESULT; |
91 | RGBA_Font_Glyph_Out *evas_cserve2_font_glyph_bitmap_get(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints); | 92 | RGBA_Font_Glyph_Out *evas_cserve2_font_glyph_bitmap_get(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints); |
93 | void evas_cserve2_font_glyph_ref(RGBA_Font_Glyph_Out *glyph, Eina_Bool incref); | ||
92 | #endif | 94 | #endif |