aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/modules/engines/software_x11/Evas_Engine_Software_X11.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/evas/src/modules/engines/software_x11/Evas_Engine_Software_X11.h')
-rw-r--r--libraries/evas/src/modules/engines/software_x11/Evas_Engine_Software_X11.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/software_x11/Evas_Engine_Software_X11.h b/libraries/evas/src/modules/engines/software_x11/Evas_Engine_Software_X11.h
new file mode 100644
index 0000000..e42c10a
--- /dev/null
+++ b/libraries/evas/src/modules/engines/software_x11/Evas_Engine_Software_X11.h
@@ -0,0 +1,52 @@
1#ifndef _EVAS_ENGINE_SOFTWARE_X11_H
2# define _EVAS_ENGINE_SOFTWARE_X11_H
3
4typedef enum
5{
6 EVAS_ENGINE_INFO_SOFTWARE_X11_BACKEND_XLIB,
7 EVAS_ENGINE_INFO_SOFTWARE_X11_BACKEND_XCB
8} Evas_Engine_Info_Software_X11_Backend;
9
10typedef struct _Evas_Engine_Info_Software_X11 Evas_Engine_Info_Software_X11;
11
12struct _Evas_Engine_Info_Software_X11
13{
14 /* PRIVATE - don't mess with this baby or evas will poke its tongue out */
15 /* at you and make nasty noises */
16 Evas_Engine_Info magic;
17
18 /* engine specific data & parameters it needs to set up */
19 struct
20 {
21 Evas_Engine_Info_Software_X11_Backend backend;
22
23 void *connection, *screen;
24 unsigned int drawable, mask;
25 void *visual;
26 unsigned int colormap;
27 int depth, rotation;
28
29 Eina_Bool alloc_grayscale : 1;
30 Eina_Bool debug : 1;
31 Eina_Bool shape_dither : 1;
32 Eina_Bool destination_alpha : 1;
33 Eina_Bool track_mask_changes : 1;
34
35 int alloc_colors_max;
36 } info;
37
38 /* engine specific function calls to query stuff about the destination */
39 struct
40 {
41 void *(*best_visual_get) (int backend, void *connection, int screen);
42 unsigned int (*best_colormap_get) (int backend, void *connection, int screen);
43 int (*best_depth_get) (int backend, void *connection, int screen);
44 } func;
45
46 unsigned char mask_changed : 1;
47
48 /* non-blocking or blocking mode */
49 Evas_Engine_Render_Mode render_mode;
50};
51
52#endif