[MPlayer-cvslog] r23047 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Sat Apr 21 01:23:00 CEST 2007
Author: eugeni
Date: Sat Apr 21 01:23:00 2007
New Revision: 23047
Modified:
trunk/libass/ass_render.c
Log:
Allow caching of rotated glyphs.
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c (original)
+++ trunk/libass/ass_render.c Sat Apr 21 01:23:00 2007
@@ -407,14 +407,10 @@ static ass_image_t* render_text(text_inf
FT_Done_Glyph(text_info->glyphs[i].outline_glyph);
// cache
- if (text_info->glyphs[i].hash_key.frx == 0 &&
- text_info->glyphs[i].hash_key.fry == 0 &&
- text_info->glyphs[i].hash_key.frz == 0) {
hash_val.bm_o = text_info->glyphs[i].bm_o;
hash_val.bm = text_info->glyphs[i].bm;
hash_val.bm_s = text_info->glyphs[i].bm_s;
cache_add_bitmap(&(text_info->glyphs[i].hash_key), &hash_val);
- }
}
}
More information about the MPlayer-cvslog
mailing list