1 #ifndef _EVAS_ENGINE_SOFTWARE_XCB_H
2 #define _EVAS_ENGINE_SOFTWARE_XCB_H
6 typedef struct _Evas_Engine_Info_Software_Xcb Evas_Engine_Info_Software_Xcb;
8 struct _Evas_Engine_Info_Software_Xcb
10 /* PRIVATE - don't mess with this baby or evas will poke its tongue out */
11 /* at you and make nasty noises */
12 Evas_Engine_Info magic;
14 /* engine specific data & parameters it needs to set up */
16 xcb_connection_t *conn;
18 xcb_drawable_t drawable;
20 xcb_visualtype_t *visual;
21 xcb_colormap_t colormap;
25 int alloc_grayscale : 1;
28 int destination_alpha : 1;
29 int track_mask_changes : 1;
33 /* engine specific function calls to query stuff about the destination */
35 xcb_visualtype_t * (*best_visual_get) (xcb_screen_t *screen);
36 xcb_colormap_t (*best_colormap_get) (xcb_screen_t *screen);
37 int (*best_depth_get) (xcb_screen_t *screen);
43 #endif /* _EVAS_ENGINE_SOFTWARE_XCB_H */