diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_extensions.c | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_extensions.c')
-rw-r--r-- | libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_extensions.c | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_extensions.c b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_extensions.c new file mode 100644 index 0000000..40c10ac --- /dev/null +++ b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_extensions.c | |||
@@ -0,0 +1,148 @@ | |||
1 | #include "ecore_xcb_private.h" | ||
2 | |||
3 | void | ||
4 | _ecore_xcb_extensions_init(void) | ||
5 | { | ||
6 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | ||
7 | |||
8 | xcb_prefetch_extension_data(_ecore_xcb_conn, &xcb_big_requests_id); | ||
9 | xcb_prefetch_extension_data(_ecore_xcb_conn, &xcb_shm_id); | ||
10 | |||
11 | #ifdef ECORE_XCB_SHAPE | ||
12 | _ecore_xcb_shape_init(); | ||
13 | #endif | ||
14 | |||
15 | #ifdef ECORE_XCB_SCREENSAVER | ||
16 | _ecore_xcb_screensaver_init(); | ||
17 | #endif | ||
18 | |||
19 | #ifdef ECORE_XCB_SYNC | ||
20 | _ecore_xcb_sync_init(); | ||
21 | #endif | ||
22 | |||
23 | #ifdef ECORE_XCB_RANDR | ||
24 | _ecore_xcb_randr_init(); | ||
25 | #endif | ||
26 | |||
27 | #ifdef ECORE_XCB_XFIXES | ||
28 | _ecore_xcb_xfixes_init(); | ||
29 | #endif | ||
30 | |||
31 | #ifdef ECORE_XCB_DAMAGE | ||
32 | _ecore_xcb_damage_init(); | ||
33 | #endif | ||
34 | |||
35 | #ifdef ECORE_XCB_RENDER | ||
36 | _ecore_xcb_render_init(); | ||
37 | #endif | ||
38 | |||
39 | #ifdef ECORE_XCB_COMPOSITE | ||
40 | _ecore_xcb_composite_init(); | ||
41 | #endif | ||
42 | |||
43 | #ifdef ECORE_XCB_DPMS | ||
44 | _ecore_xcb_dpms_init(); | ||
45 | #endif | ||
46 | |||
47 | #ifdef ECORE_XCB_DPMS | ||
48 | _ecore_xcb_dpms_init(); | ||
49 | #endif | ||
50 | |||
51 | #ifdef ECORE_XCB_CURSOR | ||
52 | _ecore_xcb_cursor_init(); | ||
53 | #endif | ||
54 | |||
55 | #ifdef ECORE_XCB_XINERAMA | ||
56 | _ecore_xcb_xinerama_init(); | ||
57 | #endif | ||
58 | |||
59 | #ifdef ECORE_XCB_XINPUT | ||
60 | _ecore_xcb_input_init(); | ||
61 | #endif | ||
62 | |||
63 | #ifdef ECORE_XCB_GESTURE | ||
64 | _ecore_xcb_gesture_init(); | ||
65 | #endif | ||
66 | |||
67 | /* #ifdef ECORE_XCB_DRI */ | ||
68 | /* _ecore_xcb_dri_init(); */ | ||
69 | /* #endif */ | ||
70 | |||
71 | #ifdef ECORE_XCB_XTEST | ||
72 | _ecore_xcb_xtest_init(); | ||
73 | #endif | ||
74 | |||
75 | xcb_prefetch_maximum_request_length(_ecore_xcb_conn); | ||
76 | } | ||
77 | |||
78 | void | ||
79 | _ecore_xcb_extensions_finalize(void) | ||
80 | { | ||
81 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | ||
82 | |||
83 | xcb_get_extension_data(_ecore_xcb_conn, &xcb_big_requests_id); | ||
84 | xcb_get_extension_data(_ecore_xcb_conn, &xcb_shm_id); | ||
85 | |||
86 | #ifdef ECORE_XCB_SHAPE | ||
87 | _ecore_xcb_shape_finalize(); | ||
88 | #endif | ||
89 | |||
90 | #ifdef ECORE_XCB_SCREENSAVER | ||
91 | _ecore_xcb_screensaver_finalize(); | ||
92 | #endif | ||
93 | |||
94 | #ifdef ECORE_XCB_SYNC | ||
95 | _ecore_xcb_sync_finalize(); | ||
96 | #endif | ||
97 | |||
98 | #ifdef ECORE_XCB_RANDR | ||
99 | _ecore_xcb_randr_finalize(); | ||
100 | #endif | ||
101 | |||
102 | #ifdef ECORE_XCB_XFIXES | ||
103 | _ecore_xcb_xfixes_finalize(); | ||
104 | #endif | ||
105 | |||
106 | #ifdef ECORE_XCB_DAMAGE | ||
107 | _ecore_xcb_damage_finalize(); | ||
108 | #endif | ||
109 | |||
110 | #ifdef ECORE_XCB_RENDER | ||
111 | _ecore_xcb_render_finalize(); | ||
112 | #endif | ||
113 | |||
114 | #ifdef ECORE_XCB_COMPOSITE | ||
115 | _ecore_xcb_composite_finalize(); | ||
116 | #endif | ||
117 | |||
118 | #ifdef ECORE_XCB_DPMS | ||
119 | _ecore_xcb_dpms_finalize(); | ||
120 | #endif | ||
121 | |||
122 | #ifdef ECORE_XCB_CURSOR | ||
123 | _ecore_xcb_cursor_finalize(); | ||
124 | #endif | ||
125 | |||
126 | #ifdef ECORE_XCB_XINERAMA | ||
127 | _ecore_xcb_xinerama_finalize(); | ||
128 | #endif | ||
129 | |||
130 | #ifdef ECORE_XCB_XINPUT | ||
131 | _ecore_xcb_input_finalize(); | ||
132 | #endif | ||
133 | |||
134 | #ifdef ECORE_XCB_GESTURE | ||
135 | _ecore_xcb_gesture_finalize(); | ||
136 | #endif | ||
137 | |||
138 | /* #ifdef ECORE_XCB_DRI */ | ||
139 | /* _ecore_xcb_dri_finalize(); */ | ||
140 | /* #endif */ | ||
141 | |||
142 | #ifdef ECORE_XCB_XTEST | ||
143 | _ecore_xcb_xtest_finalize(); | ||
144 | #endif | ||
145 | |||
146 | xcb_get_maximum_request_length(_ecore_xcb_conn); | ||
147 | } | ||
148 | |||