summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_font_main.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-07-04 09:39:23 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-07-04 09:39:23 +0000
commit1d415b796bf0f506ef7888195faa8ec0ed1f0d06 (patch)
tree7b79753ca57cf5d98c831f19609fccc6749aa214 /legacy/evas/src/lib/engines/common/evas_font_main.c
parent5ef3b00eaf4886d130dfd938354abbc7a8e5a702 (diff)
evas: add more infrastructure to the prepare stage of pipe rendering.
NOTE: this improve some test by 10 to 15% some other are down by 5%. Their is still more tunning and improvement possible now (Particularly with Map), but it will do for now. SVN revision: 73264
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_font_main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_font_main.c b/legacy/evas/src/lib/engines/common/evas_font_main.c
index bd4c6785f9..100f3b7523 100644
--- a/legacy/evas/src/lib/engines/common/evas_font_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_font_main.c
@@ -562,9 +562,14 @@ evas_common_get_char_index(RGBA_Font_Int* fi, Eina_Unicode gl)
562// } 562// }
563 563
564 evas_common_font_int_reload(fi); 564 evas_common_font_int_reload(fi);
565 FTLOCK(); 565 /*
566 * There is no point in locking FreeType at this point as all caller
567 * are running in the main loop at a time where there is zero chance
568 * that something else try to use it.
569 */
570 /* FTLOCK(); */
566 result.index = FT_Get_Char_Index(fi->src->ft.face, gl); 571 result.index = FT_Get_Char_Index(fi->src->ft.face, gl);
567 FTUNLOCK(); 572 /* FTUNLOCK(); */
568 result.gl = gl; 573 result.gl = gl;
569 574
570// eina_hash_direct_add(fi->indexes, &result->gl, result); 575// eina_hash_direct_add(fi->indexes, &result->gl, result);