From dd7595a3475407a7fa96a97393bae8c5220e8762 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 4 Jan 2012 18:41:13 +1000 Subject: 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. --- .../engines/software_x11/evas_xlib_outbuf.h | 92 ++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 libraries/evas/src/modules/engines/software_x11/evas_xlib_outbuf.h (limited to 'libraries/evas/src/modules/engines/software_x11/evas_xlib_outbuf.h') diff --git a/libraries/evas/src/modules/engines/software_x11/evas_xlib_outbuf.h b/libraries/evas/src/modules/engines/software_x11/evas_xlib_outbuf.h new file mode 100644 index 0000000..d70eb8d --- /dev/null +++ b/libraries/evas/src/modules/engines/software_x11/evas_xlib_outbuf.h @@ -0,0 +1,92 @@ +#ifndef EVAS_XLIB_OUTBUF_H +#define EVAS_XLIB_OUTBUF_H + + +#include "evas_engine.h" + + +void evas_software_xlib_outbuf_init (void); + +void evas_software_xlib_outbuf_free (Outbuf *buf); + +Outbuf *evas_software_xlib_outbuf_setup_x (int w, + int h, + int rot, + Outbuf_Depth depth, + Display *disp, + Drawable draw, + Visual *vis, + Colormap cmap, + int x_depth, + int grayscale, + int max_colors, + Pixmap mask, + int shape_dither, + int destination_alpha); + + +RGBA_Image *evas_software_xlib_outbuf_new_region_for_update (Outbuf *buf, + int x, + int y, + int w, + int h, + int *cx, + int *cy, + int *cw, + int *ch); + +void evas_software_xlib_outbuf_free_region_for_update (Outbuf *buf, + RGBA_Image *update); + +void evas_software_xlib_outbuf_flush (Outbuf *buf); + +void evas_software_xlib_outbuf_idle_flush (Outbuf *buf); + +void evas_software_xlib_outbuf_push_updated_region (Outbuf *buf, + RGBA_Image *update, + int x, + int y, + int w, + int h); + +void evas_software_xlib_outbuf_reconfigure (Outbuf *buf, + int w, + int h, + int rot, + Outbuf_Depth depth); + +int evas_software_xlib_outbuf_get_width (Outbuf *buf); + +int evas_software_xlib_outbuf_get_height (Outbuf *buf); + +Outbuf_Depth evas_software_xlib_outbuf_get_depth (Outbuf *buf); + +int evas_software_xlib_outbuf_get_rot (Outbuf *buf); + +void evas_software_xlib_outbuf_drawable_set (Outbuf *buf, + Drawable draw); + +void evas_software_xlib_outbuf_mask_set (Outbuf *buf, + Pixmap mask); + +void evas_software_xlib_outbuf_rotation_set (Outbuf *buf, + int rot); + +void evas_software_xlib_outbuf_debug_set (Outbuf *buf, + int debug); + +void evas_software_xlib_outbuf_debug_show (Outbuf *buf, + Drawable draw, + int x, + int y, + int w, + int h); + +Eina_Bool evas_software_xlib_outbuf_alpha_get (Outbuf *buf); +#ifdef EVAS_FRAME_QUEUING +void evas_software_xlib_outbuf_set_priv (Outbuf *buf, + void *cur, + void *prev); +#endif + +#endif -- cgit v1.1