From: cedric Date: Thu, 3 May 2012 07:31:04 +0000 (+0000) Subject: evas: \o/ My mojo is back, unbork pipeline font rendering. X-Git-Tag: submit/trunk/20120815.174732~370 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15af22ac5c16b38b363008bc98452c8f5f117262;p=profile%2Fivi%2Fevas.git 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 --- 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);