1 #include "ecore_xcb_private.h"
4 _ecore_xcb_extensions_init(void)
6 LOGFN(__FILE__, __LINE__, __FUNCTION__);
8 xcb_prefetch_extension_data(_ecore_xcb_conn, &xcb_big_requests_id);
9 xcb_prefetch_extension_data(_ecore_xcb_conn, &xcb_shm_id);
11 #ifdef ECORE_XCB_SHAPE
12 _ecore_xcb_shape_init();
15 #ifdef ECORE_XCB_SCREENSAVER
16 _ecore_xcb_screensaver_init();
20 _ecore_xcb_sync_init();
23 #ifdef ECORE_XCB_RANDR
24 _ecore_xcb_randr_init();
27 #ifdef ECORE_XCB_XFIXES
28 _ecore_xcb_xfixes_init();
31 #ifdef ECORE_XCB_DAMAGE
32 _ecore_xcb_damage_init();
35 #ifdef ECORE_XCB_RENDER
36 _ecore_xcb_render_init();
39 #ifdef ECORE_XCB_COMPOSITE
40 _ecore_xcb_composite_init();
44 _ecore_xcb_dpms_init();
48 _ecore_xcb_dpms_init();
51 #ifdef ECORE_XCB_CURSOR
52 _ecore_xcb_cursor_init();
55 #ifdef ECORE_XCB_XINERAMA
56 _ecore_xcb_xinerama_init();
59 #ifdef ECORE_XCB_XINPUT
60 _ecore_xcb_input_init();
63 #ifdef ECORE_XCB_GESTURE
64 _ecore_xcb_gesture_init();
67 #ifdef ECORE_XCB_XPRESENT
68 _ecore_xcb_present_init();
71 /* #ifdef ECORE_XCB_DRI */
72 /* _ecore_xcb_dri_init(); */
75 #ifdef ECORE_XCB_XTEST
76 _ecore_xcb_xtest_init();
79 xcb_prefetch_maximum_request_length(_ecore_xcb_conn);
83 _ecore_xcb_extensions_finalize(void)
85 LOGFN(__FILE__, __LINE__, __FUNCTION__);
87 xcb_get_extension_data(_ecore_xcb_conn, &xcb_big_requests_id);
88 xcb_get_extension_data(_ecore_xcb_conn, &xcb_shm_id);
90 #ifdef ECORE_XCB_SHAPE
91 _ecore_xcb_shape_finalize();
94 #ifdef ECORE_XCB_SCREENSAVER
95 _ecore_xcb_screensaver_finalize();
99 _ecore_xcb_sync_finalize();
102 #ifdef ECORE_XCB_RANDR
103 _ecore_xcb_randr_finalize();
106 #ifdef ECORE_XCB_XFIXES
107 _ecore_xcb_xfixes_finalize();
110 #ifdef ECORE_XCB_DAMAGE
111 _ecore_xcb_damage_finalize();
114 #ifdef ECORE_XCB_RENDER
115 _ecore_xcb_render_finalize();
118 #ifdef ECORE_XCB_COMPOSITE
119 _ecore_xcb_composite_finalize();
122 #ifdef ECORE_XCB_DPMS
123 _ecore_xcb_dpms_finalize();
126 #ifdef ECORE_XCB_CURSOR
127 _ecore_xcb_cursor_finalize();
130 #ifdef ECORE_XCB_XINERAMA
131 _ecore_xcb_xinerama_finalize();
134 #ifdef ECORE_XCB_XINPUT
135 _ecore_xcb_input_finalize();
138 #ifdef ECORE_XCB_GESTURE
139 _ecore_xcb_gesture_finalize();
142 #ifdef ECORE_XCB_XPRESENT
143 _ecore_xcb_present_finalize();
146 /* #ifdef ECORE_XCB_DRI */
147 /* _ecore_xcb_dri_finalize(); */
150 #ifdef ECORE_XCB_XTEST
151 _ecore_xcb_xtest_finalize();
154 xcb_get_maximum_request_length(_ecore_xcb_conn);