diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/evas/src/modules/engines/software_x11/Evas_Engine_Software_X11.h | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
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.h | 52 |
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 | |||
4 | typedef 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 | |||
10 | typedef struct _Evas_Engine_Info_Software_X11 Evas_Engine_Info_Software_X11; | ||
11 | |||
12 | struct _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 | ||