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_xlib_buffer.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 '')
-rw-r--r-- | libraries/evas/src/modules/engines/software_x11/evas_xlib_buffer.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/software_x11/evas_xlib_buffer.h b/libraries/evas/src/modules/engines/software_x11/evas_xlib_buffer.h new file mode 100644 index 0000000..01c4db0 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_x11/evas_xlib_buffer.h | |||
@@ -0,0 +1,45 @@ | |||
1 | #ifndef EVAS_XLIB_BUFFER_H | ||
2 | #define EVAS_XLIB_BUFFER_H | ||
3 | |||
4 | |||
5 | #include "evas_engine.h" | ||
6 | |||
7 | |||
8 | typedef struct _X_Output_Buffer X_Output_Buffer; | ||
9 | |||
10 | struct _X_Output_Buffer | ||
11 | { | ||
12 | Display *display; | ||
13 | XImage *xim; | ||
14 | XShmSegmentInfo *shm_info; | ||
15 | Visual *visual; | ||
16 | void *data; | ||
17 | int w; | ||
18 | int h; | ||
19 | int bpl; | ||
20 | int psize; | ||
21 | }; | ||
22 | |||
23 | void evas_software_xlib_x_write_mask_line (Outbuf *buf, X_Output_Buffer *xob, DATA32 *src, int w, int y); | ||
24 | void evas_software_xlib_x_write_mask_line_rev (Outbuf *buf, X_Output_Buffer *xob, DATA32 *src, int w, int y); | ||
25 | void evas_software_xlib_x_write_mask_line_vert (Outbuf *buf, X_Output_Buffer *xob, DATA32 *src, int h, int ym, int w); | ||
26 | void evas_software_xlib_x_write_mask_line_vert_rev (Outbuf *buf, X_Output_Buffer *xob, DATA32 *src, int h, int ym, int w); | ||
27 | |||
28 | int evas_software_xlib_x_can_do_shm (Display *d); | ||
29 | |||
30 | X_Output_Buffer *evas_software_xlib_x_output_buffer_new (Display *d, Visual *v, int depth, int w, int h, int try_shm, void *data); | ||
31 | |||
32 | void evas_software_xlib_x_output_buffer_free (X_Output_Buffer *xob, int sync); | ||
33 | |||
34 | void evas_software_xlib_x_output_buffer_paste (X_Output_Buffer *xob, Drawable d, GC gc, int x, int y, int sync); | ||
35 | |||
36 | DATA8 *evas_software_xlib_x_output_buffer_data (X_Output_Buffer *xob, int *bytes_per_line_ret); | ||
37 | |||
38 | int evas_software_xlib_x_output_buffer_depth (X_Output_Buffer *xob); | ||
39 | |||
40 | int evas_software_xlib_x_output_buffer_byte_order (X_Output_Buffer *xob); | ||
41 | |||
42 | int evas_software_xlib_x_output_buffer_bit_order (X_Output_Buffer *xob); | ||
43 | |||
44 | |||
45 | #endif | ||