and add in the 8bpp gray stuff
[framework/uifw/evas.git] / src / modules / engines / software_8_x11 / Evas_Engine_Software_8_X11.h
1 #ifndef _EVAS_ENGINE_SOFTWARE_8_X11_H
2 #define _EVAS_ENGINE_SOFTWARE_8_X11_H
3
4 #include <xcb/xcb.h>
5
6 typedef struct _Evas_Engine_Info_Software_8_X11              Evas_Engine_Info_Software_8_X11;
7
8 struct _Evas_Engine_Info_Software_8_X11
9 {
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;
13
14    /* engine specific data & parameters it needs to set up */
15    struct {
16       xcb_connection_t *connection;
17       xcb_drawable_t drawable;
18       xcb_gcontext_t gc;
19       xcb_screen_t *screen;
20
21       unsigned int mask;
22       void        *visual;
23       unsigned int colormap;
24       int          depth;
25       int          rotation;
26
27       int          alloc_grayscale    : 1;
28       int          debug              : 1;
29       int          shape_dither       : 1;
30       int          destination_alpha  : 1;
31       int          track_mask_changes : 1;
32    } info;
33
34    /* non-blocking or blocking mode */
35    Evas_Engine_Render_Mode render_mode;
36 };
37
38 #endif