10 #include <X11/extensions/XShm.h>
12 #ifdef BUILD_ENGINE_SOFTWARE_XCB
14 # include <xcb/xcb_image.h>
18 typedef enum _Outbuf_Depth Outbuf_Depth;
24 OUTBUF_DEPTH_RGB_16BPP_565_565_DITHERED,
25 OUTBUF_DEPTH_RGB_16BPP_555_555_DITHERED,
26 OUTBUF_DEPTH_RGB_16BPP_444_444_DITHERED,
27 OUTBUF_DEPTH_RGB_16BPP_565_444_DITHERED,
28 OUTBUF_DEPTH_RGB_32BPP_888_8888,
32 typedef struct _Outbuf Outbuf;
54 unsigned char swap : 1;
55 unsigned char bit_swap : 1;
57 #ifdef BUILD_ENGINE_SOFTWARE_XCB
59 xcb_connection_t *conn;
63 xcb_visualtype_t *vis;
69 unsigned char swap : 1;
70 unsigned char bit_swap : 1;
78 /* 1 big buffer for updates - flush on idle_flush */
80 Eina_List *onebuf_regions;
82 /* a list of pending regions to write to the target */
83 Eina_List *pending_writes;
84 /* a list of previous frame pending regions to write to the target */
85 Eina_List *prev_pending_writes;
87 unsigned char mask_dither : 1;
88 unsigned char destination_alpha : 1;
89 unsigned char debug : 1;
90 unsigned char synced : 1;
95 void evas_software_xlib_x_init (void);
96 void evas_software_xcb_x_init (void);