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_xcb_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 'libraries/evas/src/modules/engines/software_x11/evas_xcb_buffer.h')
-rw-r--r-- | libraries/evas/src/modules/engines/software_x11/evas_xcb_buffer.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/software_x11/evas_xcb_buffer.h b/libraries/evas/src/modules/engines/software_x11/evas_xcb_buffer.h new file mode 100644 index 0000000..dc1f0b4 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_x11/evas_xcb_buffer.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef EVAS_XCB_BUFFER_H | ||
2 | # define EVAS_XCB_BUFFER_H | ||
3 | |||
4 | # include "evas_engine.h" | ||
5 | |||
6 | typedef struct _Xcb_Output_Buffer Xcb_Output_Buffer; | ||
7 | struct _Xcb_Output_Buffer | ||
8 | { | ||
9 | xcb_connection_t *connection; | ||
10 | xcb_visualtype_t *visual; | ||
11 | xcb_image_t *xim; | ||
12 | xcb_shm_segment_info_t *shm_info; | ||
13 | unsigned char *data; | ||
14 | int w, h, bpl, psize; | ||
15 | }; | ||
16 | |||
17 | void evas_software_xcb_write_mask_line(Outbuf *buf, Xcb_Output_Buffer *xcbob, DATA32 *src, int w, int y); | ||
18 | void evas_software_xcb_write_mask_line_rev(Outbuf *buf, Xcb_Output_Buffer *xcbob, DATA32 *src, int w, int y); | ||
19 | void evas_software_xcb_write_mask_line_vert(Outbuf *buf, Xcb_Output_Buffer *xcbob, DATA32 *src, int h, int y, int w); | ||
20 | void evas_software_xcb_write_mask_line_vert_rev(Outbuf *buf, Xcb_Output_Buffer *xcbob, DATA32 *src, int h, int y, int w); | ||
21 | Eina_Bool evas_software_xcb_can_do_shm(xcb_connection_t *conn, xcb_screen_t *screen); | ||
22 | Xcb_Output_Buffer *evas_software_xcb_output_buffer_new(xcb_connection_t *conn, xcb_visualtype_t *vis, int depth, int w, int h, int try_shm, unsigned char *data); | ||
23 | void evas_software_xcb_output_buffer_free(Xcb_Output_Buffer *xcbob, Eina_Bool sync); | ||
24 | void evas_software_xcb_output_buffer_paste(Xcb_Output_Buffer *xcbob, xcb_drawable_t drawable, xcb_gcontext_t gc, int x, int y, Eina_Bool sync); | ||
25 | DATA8 *evas_software_xcb_output_buffer_data(Xcb_Output_Buffer *xcbob, int *bpl_ret); | ||
26 | int evas_software_xcb_output_buffer_depth(Xcb_Output_Buffer *xcbob); | ||
27 | int evas_software_xcb_output_buffer_byte_order(Xcb_Output_Buffer *xcbob); | ||
28 | int evas_software_xcb_output_buffer_bit_order(Xcb_Output_Buffer *xcbob); | ||
29 | |||
30 | #endif | ||