From 15af22ac5c16b38b363008bc98452c8f5f117262 Mon Sep 17 00:00:00 2001 From: cedric Date: Thu, 3 May 2012 07:31:04 +0000 Subject: [PATCH] evas: \o/ My mojo is back, unbork pipeline font rendering. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@70687 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/engines/common/evas_font_private.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/lib/engines/common/evas_font_private.h b/src/lib/engines/common/evas_font_private.h index e00bd9b..2a2a382 100644 --- a/src/lib/engines/common/evas_font_private.h +++ b/src/lib/engines/common/evas_font_private.h @@ -6,10 +6,18 @@ extern LK(lock_font_draw); // for freetype2 API calls extern LK(lock_bidi); // for fribidi API calls extern LK(lock_ot); // for harfbuzz calls -#endif +# define FTLOCK() LKL(lock_font_draw) +# define FTUNLOCK() LKU(lock_font_draw) + +# define BIDILOCK() LKL(lock_bidi) +# define BIDIUNLOCK() LKU(lock_bidi) -# define FTLOCK(x) -# define FTUNLOCK(x) +/* Macros for text walking */ +# define OTLOCK() LKL(lock_ot) +# define OTUNLOCK() LKU(lock_ot) +#else +# define FTLOCK() +# define FTUNLOCK() # define BIDILOCK() # define BIDIUNLOCK() @@ -17,6 +25,7 @@ extern LK(lock_ot); // for harfbuzz calls /* Macros for text walking */ # define OTLOCK() # define OTUNLOCK() +#endif void evas_common_font_source_unload(RGBA_Font_Source *fs); void evas_common_font_source_reload(RGBA_Font_Source *fs); -- 2.7.4