big patch from Samsung SAIT (Advanced research group) for async multi-frame
[framework/uifw/evas.git] / src / lib / engines / common / evas_font_private.h
1 #ifndef _EVAS_FONT_PRIVATE_H
2 #define _EVAS_FONT_PRIVATE_H
3
4 LK(lock_font_draw);     // for freetype2 API calls
5 LK(lock_fribidi);               // for fribidi API calls
6
7 #ifdef EVAS_FRAME_QUEUING
8 #define FTLOCK() LKL(lock_font_draw)
9 #define FTUNLOCK() LKU(lock_font_draw)
10
11 #define FBDLOCK() LKL(lock_fribidi)
12 #define FBDUNLOCK() LKU(lock_fribidi)
13 #else
14 #define FTLOCK(x) 
15 #define FTUNLOCK(x) 
16
17 #define FBDLOCK() 
18 #define FBDUNLOCK() 
19 #endif
20
21 #endif /* !_EVAS_FONT_PRIVATE_H */
22
23 #ifndef _EVAS_FONT_PRIVATE_H
24 #define _EVAS_FONT_PRIVATE_H
25
26 LK(lock_font_draw);     // for freetype2 API calls
27 LK(lock_fribidi);               // for fribidi API calls
28
29 #ifdef EVAS_FRAME_QUEUING
30 #define FTLOCK() LKL(lock_font_draw)
31 #define FTUNLOCK() LKU(lock_font_draw)
32
33 #define FBDLOCK() LKL(lock_fribidi)
34 #define FBDUNLOCK() LKU(lock_fribidi)
35 #else
36 #define FTLOCK(x) 
37 #define FTUNLOCK(x) 
38
39 #define FBDLOCK() 
40 #define FBDUNLOCK() 
41 #endif
42
43 #endif /* !_EVAS_FONT_PRIVATE_H */
44
45 #ifndef _EVAS_FONT_PRIVATE_H
46 #define _EVAS_FONT_PRIVATE_H
47
48 LK(lock_font_draw);     // for freetype2 API calls
49 LK(lock_fribidi);               // for fribidi API calls
50
51 #ifdef EVAS_FRAME_QUEUING
52 #define FTLOCK() LKL(lock_font_draw)
53 #define FTUNLOCK() LKU(lock_font_draw)
54
55 #define FBDLOCK() LKL(lock_fribidi)
56 #define FBDUNLOCK() LKU(lock_fribidi)
57 #else
58 #define FTLOCK(x) 
59 #define FTUNLOCK(x) 
60
61 #define FBDLOCK() 
62 #define FBDUNLOCK() 
63 #endif
64
65 #endif /* !_EVAS_FONT_PRIVATE_H */
66
67 #ifndef _EVAS_FONT_PRIVATE_H
68 #define _EVAS_FONT_PRIVATE_H
69
70 LK(lock_font_draw);
71
72 #ifdef EVAS_FRAME_QUEUING
73 #define FTLOCK() LKL(lock_font_draw)
74 #define FTUNLOCK() LKU(lock_font_draw)
75 #else
76 #define FTLOCK(x) 
77 #define FTUNLOCK(x) 
78 #endif
79
80 #endif /* !_EVAS_FONT_PRIVATE_H */
81