Textures are not released after being cached, with this change we will keep a ref_counter for glyphs to release their texture when the glyph is not referenced any more.
Increase/Decrease ref_counter happen only on creating and destroying of text_props.
Introduce three internal methods:
void evas_font_glyph_ref(RGBA_Font_Glyph *fg); //increase ref count void evas_font_glyph_unref(RGBA_Font_Glyph *fg); //decrease ref count, when reach 0 call evas_font_glyph_release void evas_font_glyph_release(RGBA_Font_Glyph *fg); // make ref count 0. and release cache
which will increase/decrease the refcounter for the glyph, if refcounter reach 0, we will start releasing resources that are not needed anymore.